Apache DataFusion SQL Query Engine
Remove CI Caching to preserve diskspace (#2948)
Andrew Lambb49093c74280
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.ymlindex cd24c7f081..3be92471bd 100644--- a/.github/workflows/rust.yml+++ b/.github/workflows/rust.yml@@ -23,7 +23,7 @@ on:pull_request:jobs:- # build the library, a compilation step used by multiple steps below+ # Check crate compileslinux-build-lib:name: Build Libraries on AMD64 Rust ${{ matrix.rust }}runs-on: ubuntu-latest@@ -46,36 +46,29 @@ jobs:# and thus do not depend on the OS, arch nor rust version.path: /github/home/.cargokey: cargo-cache-- - name: Cache Rust dependencies- uses: actions/cache@v3- with:- # these represent compiled steps of both dependencies and arrow- # and thus are specific for a particular OS, arch and rust version.- path: /github/home/target- key: ${{ runner.os }}-${{ matrix.arch }}-target-cache-${{ matrix.rust }}-- name: Setup Rust toolchainuses: ./.github/actions/setup-builderwith:rust-version: ${{ matrix.rust }}- - name: Build workspace in debug mode+ - name: Check workspace in debug moderun: |- cargo build+ cargo checkenv:CARGO_HOME: "/github/home/.cargo"CARGO_TARGET_DIR: "/github/home/target/debug"- - name: Build workspace in release mode+ - name: Check workspace in release moderun: |cargo check --releaseenv:CARGO_HOME: "/github/home/.cargo"CARGO_TARGET_DIR: "/github/home/target/release"- - name: Check DataFusion builds without default features+ - name: Check workspace without default featuresrun: |cargo check --no-default-features -p datafusionenv:CARGO_HOME: "/github/home/.cargo"CARGO_TARGET_DIR: "/github/home/target"- - name: Check Workspace builds with all features+ - name: Check workspace with all featuresrun: |cargo check --workspace --benches --features avro,jit,scheduler,jsonenv:@@ -107,12 +100,6 @@ jobs:path: /github/home/.cargo# this key equals the ones on `linux-build-lib` for re-usekey: cargo-cache-- - name: Cache Rust dependencies- uses: actions/cache@v3- with:- path: /github/home/target- # this key equals the ones on `linux-build-lib` for re-use- key: ${{ runner.os }}-${{ matrix.arch }}-target-cache-${{ matrix.rust }}- name: Setup Rust toolchainuses: ./.github/actions/setup-builderwith:@@ -240,12 +227,6 @@ jobs:path: /github/home/.cargo# this key equals the ones on `linux-build-lib` for re-usekey: cargo-cache-- - name: Cache Rust dependencies- uses: actions/cache@v3- with:- path: /github/home/target- # this key equals the ones on `linux-build-lib` for re-use- key: ${{ runner.os }}-${{ matrix.arch }}-target-cache-${{ matrix.rust }}- uses: actions/setup-python@v3with:python-version: "3.8"@@ -305,12 +286,6 @@ jobs:path: /home/runner/.cargo# this key is not equal because the user is different than on a container (runner vs github)key: cargo-coverage-cache3-- - name: Cache Rust dependencies- uses: actions/cache@v3- with:- path: /home/runner/target- # this key is not equal because coverage uses different compilation flags.- key: ${{ runner.os }}-${{ matrix.arch }}-target-coverage-cache3-${{ matrix.rust }}-- name: Run coveragerun: |export CARGO_HOME="/home/runner/.cargo"@@ -351,12 +326,6 @@ jobs:path: /github/home/.cargo# this key equals the ones on `linux-build-lib` for re-usekey: cargo-cache-- - name: Cache Rust dependencies- uses: actions/cache@v3- with:- path: /github/home/target- # this key equals the ones on `linux-build-lib` for re-use- key: ${{ runner.os }}-${{ matrix.arch }}-target-cache-${{ matrix.rust }}- name: Setup Rust toolchainuses: ./.github/actions/setup-builderwith:@@ -429,12 +398,6 @@ jobs:path: /github/home/.cargo# this key equals the ones on `linux-build-lib` for re-usekey: cargo-cache-- - name: Cache Rust dependencies- uses: actions/cache@v3- with:- path: /github/home/target- # this key equals the ones on `linux-build-lib` for re-use- key: ${{ runner.os }}-${{ matrix.arch }}-target-cache-${{ matrix.rust }}- name: Setup Rust toolchainuses: ./.github/actions/setup-builderwith:@@ -474,12 +437,6 @@ jobs:path: /github/home/.cargo# this key equals the ones on `linux-build-lib` for re-usekey: cargo-cache-- - name: Cache Rust dependencies- uses: actions/cache@v3- with:- path: /github/home/target- # this key equals the ones on `linux-build-lib` for re-use- key: ${{ runner.os }}-${{ matrix.arch }}-target-cache-${{ matrix.rust }}- name: Setup Rust toolchainuses: ./.github/actions/setup-builderwith: