Version bump 1.0.10 -> 1.0.11 (#105) #46
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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
name: Rust ${{matrix.rust}} on ${{matrix.os}} | |
runs-on: ${{matrix.os}}-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
rust: [nightly, beta, stable] | |
os: [ubuntu, macos, windows] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.rust }} | |
# A nightly toolchain is required for cargo-expand to work, even if the | |
# toolchain with which tests are run is not nightly. | |
- run: rustup toolchain install nightly | |
if: matrix.rust != 'nightly' | |
- uses: taiki-e/cache-cargo-install-action@v1 | |
with: | |
tool: cargo-expand | |
- run: cargo test --manifest-path test-project/Cargo.toml -- --nocapture | |
- run: cargo test --manifest-path test-procmacro-project/Cargo.toml -- --nocapture |