Skip to content

chores: make clippy happy #138

chores: make clippy happy

chores: make clippy happy #138

Workflow file for this run

name: Format
on:
push:
branches: [ main ]
jobs:
format:
runs-on: [self-hosted, linux]
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt
- name: Format code
run: cargo fmt --all
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "style: apply automatic formatting"
file_pattern: '**/*.rs'