diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index 8e8825e9f8..5354f80ccb 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -390,6 +390,10 @@ jobs: - name: cargo clippy run: cargo clippy --target ${{ matrix.target }} --all-features --tests --profile ${{ matrix.profile }} --timings -- -D warnings + - name: cargo build (release) + if: ${{ matrix.profile == 'release' }} + run: cargo build --release + - name: Upload Cargo timings (clippy) if: always() uses: actions/upload-artifact@v6