File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Expand file tree Collapse file tree 2 files changed +17
-5
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
+ fail-fast : false
26
+
27
+ name : Unit Tests (${{ matrix.os }}/go-${{ matrix.go-version }})
28
+ runs-on : ${{ matrix.os }}-latest
18
29
19
30
steps :
20
31
- uses : actions/checkout@v4
23
34
24
35
- uses : actions/setup-go@v5
25
36
with :
26
- go-version-file : go.mod
37
+ go-version : ${{ matrix.go-version }}
27
38
28
39
- name : Install dependencies
29
40
run : make get-deps
32
43
run : make docker-gen
33
44
34
45
- name : Check code formatting
46
+ if : runner.os != 'Windows'
35
47
run : make check-gofmt
36
48
37
49
- name : Run tests
38
- run : go test -race -v ./internal/...
50
+ run : make test
Original file line number Diff line number Diff line change @@ -62,4 +62,4 @@ check-gofmt:
62
62
fi
63
63
64
64
test :
65
- go test -race ./internal/...
65
+ go test -v ./internal/...
You can’t perform that action at this time.
0 commit comments