Skip to content

Commit

Permalink
ci: add jlumbroso/free-disk-space to ./github/workflows/test.yml (#…
Browse files Browse the repository at this point in the history
…389)

this says it clears additional 27 GB

Co-authored-by: dj8yf0μl <[email protected]>
  • Loading branch information
dj8yfo and dj8yf0μl authored Nov 18, 2024
1 parent df6230c commit e1b5685
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,22 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Free Disk Space (Ubuntu)
if: matrix.platform == 'ubuntu-latest'
uses: jlumbroso/[email protected]
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
- name: "${{ matrix.toolchain }}"
uses: actions-rs/toolchain@v1
with:
Expand All @@ -63,9 +79,9 @@ jobs:
- name: Add wasm32 target
run: rustup target add wasm32-unknown-unknown
- name: Check with stable features
run: cargo check --verbose
run: cargo check
- name: Run tests with unstable features
run: NEAR_RPC_TIMEOUT_SECS=100 cargo test --verbose --features unstable
run: NEAR_RPC_TIMEOUT_SECS=100 cargo test --features unstable

release-plz:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e1b5685

Please sign in to comment.