Skip to content

Commit a371c33

Browse files
committed
Refactor CI workflow: Simplify build and test steps in rust.yml by removing workspace flag
1 parent 17ad5f6 commit a371c33

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ jobs:
4242
toolchain: nightly
4343
- name: Cache cargo build
4444
uses: Swatinem/rust-cache@v2
45-
- name: Build (release)
46-
run: cargo build --workspace --release --verbose
45+
- name: Build
46+
run: cargo build --release --verbose
4747
env:
4848
RUSTFLAGS: ${{ matrix.rustflags }}
49-
- name: Test (release)
49+
- name: Test
5050
if: ${{ matrix.run_tests == true }}
51-
run: cargo test --workspace --release --verbose
51+
run: cargo test --release --verbose
5252
env:
5353
RUSTFLAGS: ${{ matrix.rustflags }}
5454

0 commit comments

Comments
 (0)