This repository has no description
1name: Fixups
2
3on:
4 workflow_dispatch:
5 push:
6 branches:
7 - main
8
9jobs:
10 fixup:
11 name: Format and fix lints
12 runs-on: ubuntu-latest
13 steps:
14 - uses: actions/checkout@v6
15 with:
16 ssh-key: ${{ secrets.AUTOCOMMIT_KEY }}
17 - uses: Swatinem/rust-cache@v2
18 with:
19 shared-key: check
20
21 - run: cargo fix --locked --workspace
22 - name: Commit changes
23 uses: stefanzweifel/git-auto-commit-action@v7
24 with:
25 commit_message: "🚨 Fix lints"
26
27 - run: cargo fmt --all
28 - name: Commit changes
29 uses: stefanzweifel/git-auto-commit-action@v7
30 with:
31 commit_message: "🎨 Format code"