Skip to content

Commit c02e8c8

Browse files
committed
Free up space for staticcheck
1 parent 328d54e commit c02e8c8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/go.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,11 @@ jobs:
103103
- name: Get staticcheck
104104
run: go install honnef.co/go/tools/cmd/staticcheck@latest
105105
- name: Run staticcheck
106-
run: GOGC=30 staticcheck ./...
106+
run: |
107+
# staticcheck requires a lot of free disk space in /tmp. Free up worker
108+
# space by removing unnecessary tooling.
109+
rm -rf /usr/share/dotnet
110+
rm -rf /usr/local/share/boost
111+
rm -rf /usr/local/lib/android
112+
rm -rf /opt/hostedtoolcache/CodeQL
113+
GOGC=30 staticcheck ./...

0 commit comments

Comments
 (0)