Skip to content

Commit

Permalink
Merge pull request #181 from ulucinar/linter-cache
Browse files Browse the repository at this point in the history
Disable the golangci-lint-action's own Go mod & Go build caches
  • Loading branch information
ulucinar authored Feb 28, 2024
2 parents 2eb3bf5 + 466f4a5 commit b7315e7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/provider-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ jobs:
with:
version: ${{ inputs.golangci-version }}
args: --timeout=30m
# we manage the mod cache with the same key across different jobs.
# no need for the lint action to manage its own Go mod cache.
skip-pkg-cache: true
# we manage the build cache with the same key across different jobs.
# no need for the lint action to manage its own Go build cache.
skip-build-cache: true

check-diff:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit b7315e7

Please sign in to comment.