File tree 1 file changed +27
-4
lines changed
1 file changed +27
-4
lines changed Original file line number Diff line number Diff line change 3
3
- push
4
4
- pull_request
5
5
6
+ concurrency :
7
+ group : ${{ github.workflow }}-${{ github.ref }}
8
+ cancel-in-progress : false
9
+
6
10
jobs :
7
- tests :
11
+ test :
8
12
strategy :
9
13
matrix :
10
14
go : ["1.24"]
11
15
os : [ubuntu, macos]
12
16
runs-on : ${{ matrix.os }}-latest
13
- name : go${{ matrix.go }}-${{ matrix.os }}
17
+ name : test ( go${{ matrix.go }}-${{ matrix.os }})
14
18
steps :
15
19
- uses : actions/checkout@v4
16
20
- uses : actions/setup-go@v5
17
21
with :
18
22
go-version : ${{ matrix.go }}
19
23
- run : go mod download
20
- - run : go build
24
+ - run : go build -v
25
+ - run : make test
26
+
27
+ test-race :
28
+ strategy :
29
+ matrix :
30
+ go : ["1.24"]
31
+ os : [ubuntu, macos]
32
+ runs-on : ${{ matrix.os }}-latest
33
+ name : test-race (go${{ matrix.go }}-${{ matrix.os }})
34
+ steps :
35
+ - uses : actions/checkout@v4
36
+ - uses : actions/setup-go@v5
37
+ with :
38
+ go-version : ${{ matrix.go }}
39
+ - run : make test-race
40
+
41
+ lint :
42
+ runs-on : ubuntu-latest
43
+ steps :
44
+ - uses : actions/checkout@v4
21
45
- uses : golangci/golangci-lint-action@v7
22
46
with :
23
47
version : v2.0.2
24
- - run : make test test-race
You can’t perform that action at this time.
0 commit comments