Skip to content

Commit

Permalink
1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
dfawley committed Oct 23, 2024
1 parent 5f7d9d7 commit 4f06819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/vet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ for MOD_FILE in $(find . -name 'go.mod'); do

# - Collection of static analysis checks
SC_OUT="$(mktemp)"
staticcheck -go 1.23 -checks 'all' ./... >"${SC_OUT}" || true
staticcheck -go 1.22 -checks 'all' ./... >"${SC_OUT}" || true

# Error for anything other than checks that need exclusions.
noret_grep -v "(ST1000)" "${SC_OUT}" | noret_grep -v "(SA1019)" | noret_grep -v "(ST1003)" | noret_grep -v "(ST1019)\|\(other import of\)" | not grep -v "(SA4000)"
Expand Down

0 comments on commit 4f06819

Please sign in to comment.