Merge pull request #42 from rustbox/lots-o-garbage-update #24
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
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
fixup: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: fix | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: 'chore(fix): `cargo fix`' | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
args: --fix --all-targets | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: 'chore(fix): `cargo clippy --fix`' | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
- uses: actions-rs/[email protected] | |
with: | |
crate: taplo-cli | |
use-tool-cache: true | |
- run: taplo fmt | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: 'chore(fmt): automated formatting' |