diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b301a6b..850294a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,13 +26,13 @@ jobs: - name: Run cargo and clippy format check run: | cargo fmt --check - cargo clippy --profile release --all-targets -- -D clippy::all + cargo clippy --profile release --all-targets - name: Release Build run: | if [ "${{ matrix.server_version }}" = "8.0" ]; then - RUSTFLAGS="-D warnings" cargo build --all --all-targets --release --features valkey_8_0 + cargo build --all --all-targets --release --features valkey_8_0 else - RUSTFLAGS="-D warnings" cargo build --all --all-targets --release + cargo build --all --all-targets --release fi - name: Run unit tests run: cargo test --features enable-system-alloc @@ -72,9 +72,9 @@ jobs: - name: Run cargo and clippy format check run: | cargo fmt --check - cargo clippy --profile release --all-targets -- -D clippy::all + cargo clippy --profile release --all-targets - name: Release Build - run: RUSTFLAGS="-D warnings" cargo build --all --all-targets --release + run: cargo build --all --all-targets --release - name: Run unit tests run: cargo test --features enable-system-alloc @@ -91,13 +91,13 @@ jobs: - name: Run cargo and clippy format check run: | cargo fmt --check - cargo clippy --profile release --all-targets -- -D clippy::all + cargo clippy --profile release --all-targets - name: Release Build run: | if [ "${{ matrix.server_version }}" = "8.0" ]; then - RUSTFLAGS="-D warnings" cargo build --all --all-targets --release --features valkey_8_0 + cargo build --all --all-targets --release --features valkey_8_0 else - RUSTFLAGS="-D warnings" cargo build --all --all-targets --release + cargo build --all --all-targets --release fi - name: Run unit tests run: cargo test --features enable-system-alloc