Skip to content

Commit

Permalink
github/workflows: disable setup-go@v4 cache which is enabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
leonklingele committed May 17, 2023
1 parent e244a48 commit a2fbc42
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/benchmark.yml
Expand Up @@ -20,6 +20,8 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
cache: false # setup-go v4 caches by default
# NOTE: Keep this in sync with the version from go.mod
go-version: '1.20.x'
- name: Fetch Repository
uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -17,14 +17,15 @@ jobs:
Build:
strategy:
matrix:
# NOTE: Always list the version from go.mod
# NOTE: Always list the version from go.mod
go-version: ['1.17.x', '1.18.x', '1.19.x', '1.20.x']
platform: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
cache: false # setup-go v4 caches by default
go-version: ${{ matrix.go-version }}
- name: Setup Golang caches
uses: actions/cache@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/vulncheck.yml
Expand Up @@ -20,6 +20,8 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
cache: false # setup-go v4 caches by default
# NOTE: Keep this in sync with the version from go.mod
go-version: 1.20.x
check-latest: true
- name: Fetch Repository
Expand Down

0 comments on commit a2fbc42

Please sign in to comment.