fix: filter catch_all variant in EnumInfo methods (#150) #117
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: 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 |