Skip to content

Commit

Permalink
Update go hook testing
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Nov 13, 2023
1 parent e6b45ca commit d1b6e35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
AWS_DEFAULT_REGION: "us-east-1"
AWS_SDK_LOAD_CONFIG: 1
GOPATH: ${{ github.workspace }}
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11"]
Expand Down
13 changes: 5 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,13 @@ repos:
# ignore all files, run on hard-coded modules instead
pass_filenames: false
always_run: true
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.1
- repo: https://github.com/TekWizely/pre-commit-golang
rev: v0.8.3
hooks:
- id: go-fmt
# - id: go-vet
- id: go-imports
- id: go-cyclo
args: [-over=20]
- id: golangci-lint
- id: go-critic
- id: go-unit-tests
- id: go-build
- id: go-mod-tidy
- id: go-test-mod
- id: go-build-mod
# - id: go-mod-tidy Waiting for v1.

0 comments on commit d1b6e35

Please sign in to comment.