Skip to content

Commit 1f032eb

Browse files
committed
chore: speed up
1 parent 958d167 commit 1f032eb

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/rust-cubestore-master.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ jobs:
4242
shared-key: cubestore
4343
key: ubuntu-22.04
4444
- name: Run cargo fmt
45-
run: cargo fmt -- --check
45+
run: cargo fmt --check
4646
- name: Run cargo check
47-
run: cargo check --benches
47+
# Re-using test profile to speedup builds
48+
run: cargo check --benches --profile test
4849
- name: Run cargo test
4950
env:
5051
CUBESTORE_AWS_ACCESS_KEY_ID: ${{ secrets.CUBESTORE_AWS_ACCESS_KEY_ID }}

.github/workflows/rust-cubestore.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ jobs:
5151
shared-key: cubestore-testing
5252
key: ubuntu-22.04
5353
- name: Run cargo fmt
54-
run: cargo fmt -- --check
54+
run: cargo fmt --check
5555
- name: Run cargo check
56-
run: cargo check --benches
56+
# Re-using test profile to speedup builds
57+
run: cargo check --benches --profile test
5758
- name: Run cargo test
5859
env:
5960
# LocalDirRemoteFs expect that std::env::temp_dir and its local dir is on same FS, to use `rename`

0 commit comments

Comments
 (0)