fix quote
and syn
required to be present
#39
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: Test | |
on: [push, pull_request] | |
jobs: | |
build-test: | |
name: Build + Test | |
strategy: | |
fail-fast: false | |
matrix: | |
rust: | |
- stable | |
- nightly | |
features: | |
- "" | |
- --no-default-features | |
- --no-default-features --features prelude_core,prelude_2021 | |
- --no-default-features --features prelude_core | |
- --features namespace_idents | |
include: | |
- rust: nightly | |
cargo_flags: -Z minimal-versions | |
runs-on: ubuntu-latest | |
steps: | |
- name: Update Rust | |
run: | | |
rustup toolchain install ${{ matrix.rust }} --profile minimal --allow-downgrade | |
rustup default ${{ matrix.rust }} | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build | |
run: | |
cargo build ${{ matrix.features }} ${{ matrix.cargo_flags }} | |
- name: Test | |
run: | |
cargo test ${{ matrix.features }} --all-targets --no-fail-fast | |
- name: Doc Test | |
run: | |
cargo test ${{ matrix.features }} --doc --no-fail-fast |