File tree Expand file tree Collapse file tree 1 file changed +1
-27
lines changed
Expand file tree Collapse file tree 1 file changed +1
-27
lines changed Original file line number Diff line number Diff line change 1616 uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
1717 - name : Test
1818 run : |
19+ go env
1920 go test ./... -v -race -coverprofile=coverage.txt -covermode=atomic
2021 bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
21-
22- test-cache :
23- runs-on : ubuntu-latest
24- steps :
25- - name : Install Go
26- uses : actions/setup-go@v5
27- with :
28- go-version : ${{ matrix.go-version }}
29- - name : Checkout code
30- uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
31- - uses : actions/cache@v5
32- with :
33- # In order:
34- # * Module download cache
35- # * Build cache (Linux)
36- # * Build cache (Mac)
37- # * Build cache (Windows)
38- path : |
39- ~/go/pkg/mod
40- ~/.cache/go-build
41- ~/Library/Caches/go-build
42- %LocalAppData%\go-build
43- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
44- restore-keys : |
45- ${{ runner.os }}-go-
46- - name : Test
47- run : go test ./... -v -race -coverprofile=coverage.txt -covermode=atomic
You can’t perform that action at this time.
0 commit comments