Skip to content

Update GitHub actions #75

Update GitHub actions

Update GitHub actions #75

Workflow file for this run

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@v3
- 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=features --tests
toolchain: nightly