Skip to content

Commit 9b9fcc0

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

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/go.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,10 @@ 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/lib/android
111+
rm -rf /opt/hostedtoolcache
112+
GOGC=30 staticcheck ./...

0 commit comments

Comments
 (0)