Skip to content

Merge pull request #9 from paultag/dependabot/cargo/tokio-1.41.1 #13

Merge pull request #9 from paultag/dependabot/cargo/tokio-1.41.1

Merge pull request #9 from paultag/dependabot/cargo/tokio-1.41.1 #13

Workflow file for this run

on:
push:
branches:
- main
paths:
- "**.rs"
- Cargo.toml
- Cargo.lock
- .github/workflows/cargo-fmt.yml
pull_request:
paths:
- "**.rs"
- Cargo.toml
- Cargo.lock
- .github/workflows/cargo-fmt.yml
permissions:
packages: read
contents: read
name: cargo fmt
jobs:
cargofmt:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
rustflags: "" # use our .cargo/config.toml
- name: Run cargo fmt
run: |
cargo fmt -- --check
shell: bash