add missing informations to Cargo.toml #7
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: Fmt | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
pre_ci: | |
uses: dtolnay/.github/.github/workflows/pre_ci.yml@master | |
fmt_and_lint: | |
needs: pre_ci | |
runs-on: ubuntu-latest | |
steps: | |
- | |
uses: actions/checkout@v4 | |
- | |
name: Install Rust | |
uses: IronCoreLabs/rust-toolchain@v1 | |
- | |
name: Rust fmt | |
run: cargo fmt --all -- --check | |
- | |
name: Rust clippy | |
run: cargo clippy |