diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d11f5bbab1..287e026e27 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -31,27 +31,27 @@ jobs: - name: Clippy check run: cargo clippy --verbose --all-targets -- -Aclippy::uninlined_format_args - name: Cargo check without features - run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "" + run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "" && du -sh target/debug/* && df -h - name: Cargo check with all serialization features - run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "full-serialization" + run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "full-serialization" && du -sh target/debug/* && df -h - name: Cargo check with secret feature - run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "secret" + run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "secret" && du -sh target/debug/* && df -h - name: Cargo check with chrono feature - run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "chrono" + run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "chrono" && du -sh target/debug/* && df -h - name: Cargo check with time feature - run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "time" + run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "time" && du -sh target/debug/* && df -h - name: Cargo check with num-bigint-03 feature - run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "num-bigint-03" + run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "num-bigint-03" && du -sh target/debug/* && df -h - name: Cargo check with num-bigint-04 feature - run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "num-bigint-04" + run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "num-bigint-04" && du -sh target/debug/* && df -h - name: Cargo check with bigdecimal-04 feature - run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "bigdecimal-04" + run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "bigdecimal-04" && du -sh target/debug/* && df -h - name: Build scylla-cql - run: cargo build --verbose --all-targets --manifest-path "scylla-cql/Cargo.toml" --features "full-serialization" + run: cargo build --verbose --all-targets --manifest-path "scylla-cql/Cargo.toml" --features "full-serialization" && du -sh target/debug/* && df -h - name: Build - run: cargo build --verbose --all-targets --features "full-serialization" + run: cargo build --verbose --all-targets --features "full-serialization" && du -sh target/debug/* && df -h - name: Run tests - run: SCYLLA_URI=172.42.0.2:9042 SCYLLA_URI2=172.42.0.3:9042 SCYLLA_URI3=172.42.0.4:9042 cargo test --verbose --features "full-serialization" + run: cargo clean && SCYLLA_URI=172.42.0.2:9042 SCYLLA_URI2=172.42.0.3:9042 SCYLLA_URI3=172.42.0.4:9042 cargo test --verbose --features "full-serialization" && du -sh target/debug/* && df -h - name: Stop the cluster if: ${{ always() }} run: docker compose -f test/cluster/docker-compose.yml stop