Skip to content

Commit

Permalink
CI: disable go cache for linter jobs
Browse files Browse the repository at this point in the history
the linter job manages its cache on its own. previously we have
errors during job preparation related to existing files.
  • Loading branch information
UiP9AV6Y committed Mar 14, 2024
1 parent 71dea15 commit 08daf84
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ on:
push:
branches: [ master ]
paths:
- '.github/workflows/*.yaml'
- '**/go.mod'
- '**/go.sum'
- '**/*.go'
pull_request:
branches: [ master ]
paths:
- '.github/workflows/*.yaml'
- '**/go.mod'
- '**/go.sum'
- '**/*.go'
Expand Down Expand Up @@ -42,6 +44,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: false

- name: Lint
uses: golangci/golangci-lint-action@v3
Expand Down Expand Up @@ -73,6 +76,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: 'tools/go.mod'
cache: false

- name: Lint
uses: golangci/golangci-lint-action@v3
Expand Down

0 comments on commit 08daf84

Please sign in to comment.