Skip to content

Commit

Permalink
Upgrade golangci-lint to v1.64.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hslatman committed Feb 13, 2025
1 parent 32c3a59 commit 6d37923
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
go-version: 'stable'
check-latest: true
cache: true
- name: Install golangci-lint
- name: Install golangci-lint # TODO: replace with golangci-lint action or fully deprecate in favor of goLint.yml?
run: |
curl -sSfL "https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh" | sh -s -- -b "$(go env GOPATH)/bin" v1.59.1
curl -sSfL "https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh" | sh -s -- -b "$(go env GOPATH)/bin" v1.64.4
- name: Lint golangci-lint.yml config
run: |
"$(go env GOPATH)/bin/golangci-lint" config verify
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/goLint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Configure Linter
if: ${{ hashFiles('.golangci.yml', '.golangci.yaml', '.golangci.toml', '.golangci.json') == '' }}
run: |
curl -O https://raw.githubusercontent.com/smallstep/workflows/master/.golangci.yml
curl -O https://raw.githubusercontent.com/smallstep/workflows/main/.golangci.yml
- name: Reconfigure Git for private repos
env:
PAT: ${{ secrets.PAT }}
Expand All @@ -66,7 +66,7 @@ jobs:
- name: Run Linter
uses: golangci/golangci-lint-action@2e788936b09dd82dc280e845628a40d2ba6b204c # v6.3.1
with:
version: v1.60.1
version: v1.64.4
args: '${{ inputs.golangci-lint-args }}'
skip-cache: true
- name: Run go generate
Expand Down

0 comments on commit 6d37923

Please sign in to comment.