Skip to content

Commit

Permalink
Free up space for staticcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
bstoll committed Oct 20, 2023
1 parent 328d54e commit c02e8c8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,11 @@ jobs:
- name: Get staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Run staticcheck
run: GOGC=30 staticcheck ./...
run: |
# staticcheck requires a lot of free disk space in /tmp. Free up worker
# space by removing unnecessary tooling.
rm -rf /usr/share/dotnet
rm -rf /usr/local/share/boost
rm -rf /usr/local/lib/android
rm -rf /opt/hostedtoolcache/CodeQL
GOGC=30 staticcheck ./...

0 comments on commit c02e8c8

Please sign in to comment.