Skip to content

Commit

Permalink
chore: update go version
Browse files Browse the repository at this point in the history
Signed-off-by: xmh1011 <[email protected]>
  • Loading branch information
xmh1011 committed Jan 31, 2024
1 parent 88bba6d commit 9f9ed34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ci/static_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set -e
# static check docs: https://staticcheck.dev/docs/checks/

(
GOOS=linux go list ./... | xargs staticcheck -go=1.19 -tests=false -f binary
GOOS=darwin go list ./... | xargs staticcheck -go=1.19 -tests=false -f binary
GOOS=linux go list ./... | xargs staticcheck -go=1.21 -tests=false -f binary
GOOS=darwin go list ./... | xargs staticcheck -go=1.21 -tests=false -f binary
) | staticcheck -merge -f=text | tee static-check.log
lines=$(cat static-check.log | wc -l)
rm -f static-check.log
Expand Down

0 comments on commit 9f9ed34

Please sign in to comment.