Skip to content

Commit

Permalink
Ignore ast package deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
klauspost committed Sep 6, 2024
1 parent 3cbe034 commit 4a2c9ae
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: test
run: make ci
6 changes: 3 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: prepare generated code
run: make prepare
- name: lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
version: v1.60.3
args: --print-resources-usage --timeout=10m --verbose
6 changes: 6 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
linters:
disable:
- errcheck

linters-settings:
staticcheck:
checks:
- all
- '-SA1019' # We use the ast package.

0 comments on commit 4a2c9ae

Please sign in to comment.