File tree Expand file tree Collapse file tree 2 files changed +37
-13
lines changed
Expand file tree Collapse file tree 2 files changed +37
-13
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Go Test
1+ name : Go Tests
22
33on :
44 pull_request :
1010permissions :
1111 contents : read
1212
13- concurrency :
14- group : ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }}
15- cancel-in-progress : true
16-
1713jobs :
18- go-test :
19- uses : ipdxco/unified-github-workflows/.github/workflows/go-test.yml@v1.0
20- secrets :
21- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
14+ test :
15+ runs-on : ubuntu-latest
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ go :
20+ - { go-version: stable }
21+ - { go-version: oldstable }
22+ - { go-version-file: go.mod }
23+ steps :
24+ - uses : actions/checkout@v5
25+ with :
26+ persist-credentials : false
27+ - uses : actions/setup-go@v6
28+ with :
29+ go-version : ${{ matrix.go.go-version }}
30+ go-version-file : ${{ matrix.go.go-version-file }}
31+ - uses : geomys/sandboxed-step@v1.1.1
32+ with :
33+ run : |
34+ go test ./...
35+ test-race :
36+ runs-on : ubuntu-latest
37+ strategy :
38+ fail-fast : false
39+ steps :
40+ - uses : actions/checkout@v5
41+ with :
42+ persist-credentials : false
43+ - uses : actions/setup-go@v6
44+ with :
45+ go-version : stable
46+ - uses : geomys/sandboxed-step@v1.1.1
47+ with :
48+ run : |
49+ CGO_ENABLED=1 go test -race ./...
You can’t perform that action at this time.
0 commit comments