Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gh clean up space #5

Merged
merged 4 commits into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/actions/rm/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# https://github.com/marketplace/actions/free-disk-space-ubuntu
name: 'Free disk space'
description: 'Frees up disk space on Github Ubuntu runners'
runs:
using: composite
steps:
uses: jlumbroso/free-disk-space@main
with:
# if we still don't have enough space, we can try setting this to true
tool-cache: false

android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
4 changes: 3 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
name: Basic Checks
env:
CARGO_INCREMENTAL: 0

runs-on: ubuntu-latest

steps:
- uses: ./.github/actions/rm
- uses: actions/checkout@v3

- uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -73,6 +73,7 @@ jobs:
env:
RUSTFLAGS: -C target-cpu=native
steps:
- uses: ./.github/actions/rm
- uses: actions/checkout@v3

- uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -106,6 +107,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: ./.github/actions/rm
- uses: actions/checkout@v3

- uses: dtolnay/rust-toolchain@stable
Expand Down