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 1313
1414jobs :
1515 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
1829
1930 steps :
2031 - uses : actions/checkout@v4
2334
2435 - uses : actions/setup-go@v5
2536 with :
26- go-version-file : go.mod
37+ go-version : ${{ matrix.go-version }}
2738
2839 - name : Install dependencies
2940 run : make get-deps
3243 run : make docker-gen
3344
3445 - name : Check code formatting
46+ if : runner.os != 'Windows'
3547 run : make check-gofmt
3648
3749 - 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:
6262 fi
6363
6464test :
65- go test -race ./internal/...
65+ go test -v ./internal/...
You can’t perform that action at this time.
0 commit comments