File tree 1 file changed +23
-3
lines changed
1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change 13
13
14
14
jobs :
15
15
unit :
16
- name : Unit Tests
17
- runs-on : ubuntu-latest
16
+ strategy :
17
+ matrix :
18
+ go-version :
19
+ - " 1.23"
20
+ - " 1.24"
21
+ os :
22
+ - macos
23
+ - ubuntu
24
+ - windows
25
+ goarch :
26
+ - 386
27
+ - amd64
28
+ exclude :
29
+ - os : macos
30
+ goarch : 386
31
+ fail-fast : false
32
+
33
+ name : Unit Tests (${{ matrix.os }}/go-${{ matrix.go-version }}/${{ matrix.goarch }})
34
+ runs-on : ${{ matrix.os }}-latest
18
35
19
36
steps :
20
37
- uses : actions/checkout@v4
23
40
24
41
- uses : actions/setup-go@v5
25
42
with :
26
- go-version-file : go.mod
43
+ go-version : ${{ matrix.go-version }}
27
44
28
45
- name : Install dependencies
29
46
run : make get-deps
32
49
run : make docker-gen
33
50
34
51
- name : Check code formatting
52
+ if : runner.os != 'Windows'
35
53
run : make check-gofmt
36
54
37
55
- name : Run tests
38
56
run : go test -race -v ./internal/...
57
+ env :
58
+ GOARCH : ${{ matrix.goarch }}
You can’t perform that action at this time.
0 commit comments