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 cb6059c commit 3582df6
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 @@ -11,7 +11,7 @@ on:
golangci-lint-version:
required: false
type: string
default: v1.60.1
default: v1.64.4
golangci-lint-args:
required: false
type: string
Expand Down Expand Up @@ -58,7 +58,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 Down

0 comments on commit 3582df6

Please sign in to comment.