Apache DataFusion SQL Query Engine
CI: try free up space in `Rust / cargo test (amd64)` action (#18709)
Jeffrey Vo302dbc8e4b78
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.ymlindex c58f888df1..125273448d 100644--- a/.github/workflows/rust.yml+++ b/.github/workflows/rust.yml@@ -271,7 +271,21 @@ jobs:runs-on: ubuntu-latestcontainer:image: amd64/rust+ volumes:+ - /usr/local:/host/usr/localsteps:+ - name: Remove unnecessary preinstalled software+ run: |+ echo "Disk space before cleanup:"+ df -h+ # remove tool cache: about 8.5GB (github has host /opt/hostedtoolcache mounted as /__t)+ rm -rf /__t/* || true+ # remove Haskell runtime: about 6.3GB (host /usr/local/.ghcup)+ rm -rf /host/usr/local/.ghcup || true+ # remove Android library: about 7.8GB (host /usr/local/lib/android)+ rm -rf /host/usr/local/lib/android || true+ echo "Disk space after cleanup:"+ df -h- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0with:submodules: true