improve Cargo.toml and add rustfmt.toml and rust-toolchain.toml #1
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: Rust CI | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- prod | |
tags: | |
- '**' | |
jobs: | |
cargo-deny: | |
name: Licensing and Advisories | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # [email protected] | |
- uses: EmbarkStudios/cargo-deny-action@8371184bd11e21dcf8ac82ebf8c9c9f74ebf7268 # [email protected] | |
fmt: | |
name: Formatting | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # [email protected] | |
- name: Run cargo format | |
runs: cargo fmt --all --check | |