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 f945008
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 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,15 @@ env:
CARGO_TERM_COLOR: always

jobs:
test:
build_and_test:
name: cargo build/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 f945008

Please sign in to comment.