Skip to content

Commit

Permalink
GitHub Actions: drop action/cache
Browse files Browse the repository at this point in the history
actions/cache is now integrated into setup-go.
  • Loading branch information
dolmen committed Nov 5, 2023
1 parent be02d71 commit 4822ba8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- uses: actions/cache@v2
if: matrix.os != 'windows-latest'
with:
# https://github.com/mvdan/github-actions-golang#how-do-i-set-up-caching-between-builds
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-{{ hashFile('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Download dependencies
run: go mod download
- name: Run coverage
Expand Down

0 comments on commit 4822ba8

Please sign in to comment.