test with recently released core v27 and test 2 more historical versions #97
Workflow file for this run
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
name: Build and test | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
args: | |
[ | |
"--no-default-features", | |
"--features async", | |
] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check | |
run: | | |
cargo fmt --check | |
cargo clippy ${{ matrix.args }} -- -D warnings | |
- name: Build | |
run: cargo build ${{ matrix.args }} --verbose | |
- name: Run tests | |
run: cargo test ${{ matrix.args }} --verbose |