Skip to content

ci(bianbu test): now replacing credential placeholders from action s… #26

ci(bianbu test): now replacing credential placeholders from action s…

ci(bianbu test): now replacing credential placeholders from action s… #26

Workflow file for this run

name: Format
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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@v4
with:
commit_message: "style: apply automatic formatting"
file_pattern: '**/*.rs'