Skip to content

Commit 47a70e6

Browse files
committed
fix: ci
1 parent 47d4a75 commit 47a70e6

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,6 @@ jobs:
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

0 commit comments

Comments
 (0)