Skip to content

Commit 724749f

Browse files
committed
Nightly task nightly-make-test
System.IO.IOException: No space left on device :
1 parent d95704b commit 724749f

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/nightly-scheduled-test.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
schedule:
55
# * is a special character in YAML so you have to quote this string
66
# runs every day at midnight
7-
- cron: '0 0 * * *'
7+
- cron: "0 0 * * *"
88

99
jobs:
1010
nightly-make-test:
@@ -22,6 +22,16 @@ jobs:
2222
2323
- uses: actions/checkout@v4
2424

25+
- name: Free up disk space
26+
run: |
27+
sudo rm -rf /usr/share/dotnet
28+
sudo rm -rf /usr/local/lib/android
29+
sudo rm -rf /opt/ghc
30+
sudo rm -rf /opt/hostedtoolcache/CodeQL
31+
sudo apt-get autoremove -y
32+
sudo apt-get clean
33+
df -h
34+
2535
- name: Swatinem cache
2636
uses: Swatinem/rust-cache@v2
2737

@@ -125,7 +135,7 @@ jobs:
125135
uses: actions/setup-node@v4
126136
with:
127137
node-version: ${{ matrix.node-version }}
128-
registry-url: 'https://registry.npmjs.org'
138+
registry-url: "https://registry.npmjs.org"
129139

130140
- name: Disable AppArmor
131141
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns

0 commit comments

Comments
 (0)