Skip to content

Commit

Permalink
Refactor build/test workflow to use explicit stable release
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacdonald committed Nov 24, 2024
1 parent bf54c72 commit cd7c041
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: Build and Test

on:
push:
Expand All @@ -10,9 +10,14 @@ env:
CARGO_TERM_COLOR: always

jobs:
test:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
steps:
- uses: actions/checkout@v4
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose

0 comments on commit cd7c041

Please sign in to comment.