Skip to content

Commit

Permalink
update golangci config to match reference docs
Browse files Browse the repository at this point in the history
  • Loading branch information
iramiller committed Sep 12, 2023
1 parent 8890dba commit 0b00b33
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/checkout@v4
- uses: technote-space/[email protected]
Expand All @@ -29,12 +28,12 @@ jobs:
- uses: actions/setup-go@v4
if: env.GIT_DIFF
with:
go-version: '1.20'
- uses: golangci/golangci-lint-action@v3.7.0
go-version: '1.21'
- uses: golangci/golangci-lint-action@v3
if: env.GIT_DIFF
with:
# If you change this version, be sure to also change it in contrib/devtools/Makefile.
version: v1.54.2
version: v1.54
args: --timeout 10m --out-${NO_FUTURE}format colored-line-number
github-token: ${{ secrets.github_token }}
- name: No Now Usage
Expand Down

0 comments on commit 0b00b33

Please sign in to comment.