build(deps): update cbindgen requirement from 0.24 to 0.25 #113
Workflow file for this run
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: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
RUSTFLAGS: -Dwarnings | |
jobs: | |
test: | |
name: Test on rust ${{matrix.rust}} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: [1.63.0, stable, nightly] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{matrix.rust}} | |
- run: cargo test --all | |
clippy: | |
name: Clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dtolnay/rust-toolchain@nightly | |
- run: rustup component add clippy | |
- run: cargo clippy --all | |
fmt: | |
name: Rustfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dtolnay/rust-toolchain@nightly | |
- run: rustup component add rustfmt | |
- run: cargo fmt --all -- --check |