-
-
Notifications
You must be signed in to change notification settings - Fork 73
37 lines (35 loc) · 715 Bytes
/
Copy pathtest.yml
File metadata and controls
37 lines (35 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: test
on:
push:
paths-ignore:
- '**.md'
- '**.toml'
- '**.desktop'
- 'LICENSE'
pull_request:
paths-ignore:
- '**.md'
- '**.toml'
- '**.desktop'
- 'LICENSE'
jobs:
test:
strategy:
fail-fast: false
matrix:
go-version: ['1.23', '1.24']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Install make on Windows
if: matrix.os == 'windows-latest'
run: choco install make
- name: Test
run: |
go test -race ./...
make