Skip to content

Commit

Permalink
Clean up runner space before running actions
Browse files Browse the repository at this point in the history
14Gb default space is probably not enough for us anymore

```
[ec2-user@ip-172-31-49-57 ipa]$ du -sh target/
36G     target/
```

see the discussion here
actions/runner-images#2875
  • Loading branch information
akoshelev committed Nov 8, 2023
1 parent cb0fe9e commit 8192422
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@ env:
RUSTDOCFLAGS: -D warnings

jobs:
# https://github.com/marketplace/actions/free-disk-space-ubuntu
free-disk-space:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true

basic:
name: Basic Checks
env:
Expand Down

0 comments on commit 8192422

Please sign in to comment.