Skip to content

Commit

Permalink
Merge pull request #5 from akoshelev/gh-clean-up-space
Browse files Browse the repository at this point in the history
Gh clean up space
  • Loading branch information
akoshelev authored Nov 8, 2023
2 parents cb0fe9e + 069eb3a commit 8bb84e5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
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

0 comments on commit 8bb84e5

Please sign in to comment.