Skip to content

Commit

Permalink
Make golangci-lint caching dynamic (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryNguyen5 authored Oct 11, 2023
1 parent 31d3861 commit c89922d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions actions/ci-lint-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,15 @@ runs:
- name: Setup golangci-lint
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
with:
# We already cache these directories in setup-go if we have
# use-go-cache set to true
skip-pkg-cache: ${{ inputs.use-go-cache }}
skip-build-cache: ${{ inputs.use-go-cache }}

version: ${{ inputs.golangci-lint-version }}
args: ${{ inputs.golangci-lint-args }}


- name: Print lint report artifact
if: always()
shell: bash
Expand Down

0 comments on commit c89922d

Please sign in to comment.