Skip to content

Commit e1b5685

Browse files
dj8yfodj8yf0μl
andauthored
ci: add jlumbroso/free-disk-space to ./github/workflows/test.yml (#389)
this says it clears additional 27 GB Co-authored-by: dj8yf0μl <[email protected]>
1 parent df6230c commit e1b5685

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,22 @@ jobs:
5353

5454
steps:
5555
- uses: actions/checkout@v2
56+
- name: Free Disk Space (Ubuntu)
57+
if: matrix.platform == 'ubuntu-latest'
58+
uses: jlumbroso/[email protected]
59+
with:
60+
# this might remove tools that are actually needed,
61+
# if set to "true" but frees about 6 GB
62+
tool-cache: false
63+
64+
# all of these default to true, but feel free to set to
65+
# "false" if necessary for your workflow
66+
android: true
67+
dotnet: true
68+
haskell: true
69+
large-packages: true
70+
docker-images: true
71+
swap-storage: true
5672
- name: "${{ matrix.toolchain }}"
5773
uses: actions-rs/toolchain@v1
5874
with:
@@ -63,9 +79,9 @@ jobs:
6379
- name: Add wasm32 target
6480
run: rustup target add wasm32-unknown-unknown
6581
- name: Check with stable features
66-
run: cargo check --verbose
82+
run: cargo check
6783
- name: Run tests with unstable features
68-
run: NEAR_RPC_TIMEOUT_SECS=100 cargo test --verbose --features unstable
84+
run: NEAR_RPC_TIMEOUT_SECS=100 cargo test --features unstable
6985

7086
release-plz:
7187
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)