mirror of
https://github.com/RGBCube/color.v
synced 2025-07-31 09:57:47 +00:00
Change formatter to verifier workflow
This commit is contained in:
parent
5db1eae976
commit
074af63905
2 changed files with 28 additions and 36 deletions
|
@ -1,4 +1,4 @@
|
|||
name: Format Code
|
||||
name: Verify Formatting
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
|
@ -16,13 +16,5 @@ jobs:
|
|||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Format Code
|
||||
run: v fmt -w ./
|
||||
|
||||
- name: Push To GitHub
|
||||
continue-on-error: true
|
||||
run: |
|
||||
git pull
|
||||
git add ./
|
||||
git commit --amend
|
||||
git push
|
||||
- name: Verify That The Code Is Formatted
|
||||
run: v fmt -verify .
|
Loading…
Add table
Add a link
Reference in a new issue