Skip to content

Commit

Permalink
feat: run tests on different rust versions (#177)
Browse files Browse the repository at this point in the history
* Update push.yml

* Update push.yml

* Update push.yml
  • Loading branch information
0xflotus authored Oct 22, 2024
1 parent 8dcca64 commit 9680af2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ on:
- 'Cargo.toml'
jobs:
test:
strategy:
matrix:
version:
- stable
- '1.82'
- '1.75'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -25,7 +31,9 @@ jobs:
node-version: 20
- run: npm install -g bats
- run: bats -v
- run: rustup default ${{ matrix.version }}
- run: cargo -V
- run: rustc -V
- run: cargo test
- run: cargo build --release
- run: bats test/test.bats

0 comments on commit 9680af2

Please sign in to comment.