Port nightly test expectation to beta (#170) #132
This file contains hidden or 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: Check for unknown features | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| jobs: | |
| unknown-features: | |
| name: Check for unknown features | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Fetch toolchain | |
| uses: dtolnay/rust-toolchain@v1 | |
| with: | |
| profile: minimal | |
| toolchain: nightly | |
| - name: Check for unknown features | |
| env: | |
| RUSTFLAGS: "-D unexpected-cfgs" | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: check | |
| args: -Z unstable-options -Z check-cfg --tests | |
| toolchain: nightly |