Skip to content

Commit f945008

Browse files
committed
Refactor build/test workflow to use explicit stable release
1 parent bf54c72 commit f945008

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test
1+
name: Build and Test
22

33
on:
44
push:
@@ -10,9 +10,15 @@ env:
1010
CARGO_TERM_COLOR: always
1111

1212
jobs:
13-
test:
13+
build_and_test:
14+
name: cargo build/test
1415
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
toolchain:
19+
- stable
1520
steps:
16-
- uses: actions/checkout@v4
17-
- name: Run tests
18-
run: cargo test --verbose
21+
- uses: actions/checkout@v4
22+
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
23+
- run: cargo build --verbose
24+
- run: cargo test --verbose

0 commit comments

Comments
 (0)