Skip to content

Commit

Permalink
chore: revert staticcheck/golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lidavidm committed Aug 10, 2023
1 parent 9444ccd commit ca4f151
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/native-unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,12 @@ jobs:
persist-credentials: false
- uses: actions/setup-go@v3
with:
go-version: 1.18.10
go-version-file: 'go/adbc/go.mod'
check-latest: true
cache: true
cache-dependency-path: go/adbc/go.sum
- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@v0.4.3
run: go install honnef.co/go/tools/cmd/staticcheck@v0.3.3
- name: Go Build
run: |
./ci/scripts/go_build.sh "$(pwd)" "$(pwd)/build" "$HOME/local"
Expand Down Expand Up @@ -368,7 +368,7 @@ jobs:
- name: Install staticcheck
shell: bash -l {0}
if: ${{ !contains('macos-latest', matrix.os) }}
run: go install honnef.co/go/tools/cmd/staticcheck@v0.4.3
run: go install honnef.co/go/tools/cmd/staticcheck@v0.3.3

- uses: actions/download-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ repos:
- "--linelength=90"
- "--verbose=2"
- repo: https://github.com/golangci/golangci-lint
rev: v1.53.3
rev: v1.49.0
hooks:
- id: golangci-lint
entry: bash -c 'cd go/adbc && golangci-lint run --fix --timeout 5m'
Expand Down

0 comments on commit ca4f151

Please sign in to comment.