Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisconfirm authored Aug 29, 2023
1 parent 56b78b0 commit 4825acb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Pretty-Quick
run: npx -p [email protected] -p [email protected] pretty-quick --branch main
- name: Auto-Format with pretty-quick
run: npx -p [email protected] -p [email protected] pretty-quick --staged --branch main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: stefanzweifel/git-auto-commit-action@v4
- name: Commit auto-formatted files
uses: stefanzweifel/git-auto-commit-action@v4
if: ${{ github.event_name == 'pull_request'}}
with:
commit_message: "style: format files"
commit_message: "style: format files"
#Experimental Auto-format ends here

0 comments on commit 4825acb

Please sign in to comment.