Skip to content

Commit

Permalink
Merge pull request #182 from smallstep/herman/golangci-lint-v1.63.4
Browse files Browse the repository at this point in the history
Upgrade `golangci-lint` to `v1.64.4`
  • Loading branch information
hslatman authored Feb 13, 2025
2 parents cb6059c + de401d5 commit 406cc90
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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
2 changes: 1 addition & 1 deletion .github/workflows/goCI.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
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 406cc90

Please sign in to comment.