Skip to content

Commit

Permalink
.github: prevent both jobs from using caching
Browse files Browse the repository at this point in the history
A recent change upgraded us to setup-go@v4,
but failed to keep the "test" job without the use of any caching.
Rename it to keep that clear.
  • Loading branch information
mvdan committed Aug 15, 2023
1 parent 5c10154 commit b7c7639
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on: [push, pull_request]
name: Test
jobs:
test:
test-nocache:
strategy:
matrix:
go-version: [1.20.x, 1.21.x]
Expand All @@ -12,6 +12,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache: false
- run: go test ./...

test-cache:
Expand Down

0 comments on commit b7c7639

Please sign in to comment.