Skip to content

Commit 70d89ed

Browse files
authored
chore: free codeql space (#722)
1 parent 9afa57c commit 70d89ed

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/code-ql.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@ jobs:
3131
- name: Checkout repository
3232
uses: actions/checkout@v4
3333

34+
- name: Free disk space
35+
run: |
36+
sudo swapoff -a
37+
sudo rm -f /swapfile
38+
sudo rm -rf /usr/share/dotnet
39+
sudo rm -rf /usr/local/lib/android
40+
sudo rm -rf /opt/ghc
41+
sudo apt clean
42+
docker rmi $(docker image ls -aq)
43+
df -h
44+
3445
# Initializes the CodeQL tools for scanning.
3546
- name: Initialize CodeQL
3647
uses: github/codeql-action/init@v3

0 commit comments

Comments
 (0)