Skip to content

Commit

Permalink
add cache skip
Browse files Browse the repository at this point in the history
  • Loading branch information
ranlavanet committed Feb 12, 2025
1 parent f0bf494 commit f859d07
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
id: lint_first_try
with:
args: --print-issued-lines --config .golangci.yml -v
skip-cache: true
skip-pkg-cache: true
skip-build-cache: true

- name: Lint Retry 1
if: steps.lint_first_try.outcome == 'failure'
Expand All @@ -35,10 +38,16 @@ jobs:
id: lint_retry_1
with:
args: --print-issued-lines --config .golangci.yml -v
skip-cache: true
skip-pkg-cache: true
skip-build-cache: true

- name: Lint Retry 2
if: steps.lint_retry_1.outcome == 'failure'
uses: golangci/golangci-lint-action@v4
id: lint_retry_2
with:
args: --print-issued-lines --config .golangci.yml -v
args: --print-issued-lines --config .golangci.yml -v
skip-cache: true
skip-pkg-cache: true
skip-build-cache: true

0 comments on commit f859d07

Please sign in to comment.