chore: update rust version badge #72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Runs testing related jobs | |
name: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
test: | |
name: test ${{matrix.toolchain}} on ${{matrix.os}} with ${{matrix.features}} | |
runs-on: ${{matrix.os}}-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
toolchain: [stable, nightly] | |
os: [ubuntu] | |
features: ["test", "test-no-default-features"] | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{matrix.toolchain}} | |
override: true | |
- uses: davidB/rust-cargo-make@v1 | |
- name: cargo make - test | |
run: cargo make ${{matrix.features}} |