Skip to content

Commit 621593e

Browse files
fgilouxgiorio94
authored andcommitted
ci: Clean-up disk before running go checks
The checks on runners with limited space can lead to disk space exhaustion. Signed-off-by: Frederic Giloux <frederic.giloux@isovalent.com>
1 parent 43b0ef3 commit 621593e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/lint-go.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ jobs:
104104
persist-credentials: false
105105
# hard-code the path instead of using ${{ github.repository }} to make sure it works for forked repo as well
106106
path: src/github.com/cilium/cilium
107+
108+
- name: Cleanup Disk space in runner
109+
uses: ./src/github.com/cilium/cilium/.github/actions/disk-cleanup
110+
107111
- name: Executables check
108112
run: |
109113
cd src/github.com/cilium/cilium

0 commit comments

Comments
 (0)