File tree Expand file tree Collapse file tree 2 files changed +31
-13
lines changed
Expand file tree Collapse file tree 2 files changed +31
-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+ - run : go test ./...
32+ test-race :
33+ runs-on : ubuntu-latest
34+ strategy :
35+ fail-fast : false
36+ steps :
37+ - uses : actions/checkout@v5
38+ with :
39+ persist-credentials : false
40+ - uses : actions/setup-go@v6
41+ with :
42+ go-version : stable
43+ - run : go test -race ./...
You can’t perform that action at this time.
0 commit comments