Skip to content

Commit 8c7c6d0

Browse files
committed
ci: Use nextest for rust workflows
1 parent 5731406 commit 8c7c6d0

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/bridge-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
# include relevant information in the cache name
4646
prefix-key: "bridge-${{ matrix.rust }}"
4747

48+
- uses: taiki-e/install-action@nextest
49+
4850
- name: rustfmt
4951
run: cargo fmt -- --check
5052
working-directory: bridge

.github/workflows/rust-lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,12 @@ jobs:
6666
# include relevant information in the cache name
6767
prefix-key: "rust-client-${{ matrix.rust }}"
6868

69+
- uses: taiki-e/install-action@nextest
70+
6971
- name: Clippy
7072
run: cargo clippy --all-targets --all-features -- -D warnings
7173
working-directory: rust
7274

7375
- name: Run tests
74-
run: cargo test --all
76+
run: cargo nextest run
7577
working-directory: rust

.github/workflows/server-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
# include relevant information in the cache name
4646
prefix-key: "server-${{ matrix.rust }}"
4747

48+
- uses: taiki-e/install-action@nextest
49+
4850
- name: rustfmt
4951
run: cargo fmt -- --check
5052
working-directory: server

0 commit comments

Comments
 (0)