rename job #98
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: Rust fmt & clippy | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: IronCoreLabs/rust-toolchain@v1 | |
- name: Rust fmt | |
run: cargo fmt --all -- --check | |
clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: IronCoreLabs/rust-toolchain@v1 | |
- name: Rust clippy (default features, currently `pemdas`) | |
run: cargo clippy | |
- name: Rust clippy (`pejmdas` feature) | |
run: cargo clippy --no-default-features --features pejmdas |