mirror of
https://github.com/RGBCube/color.v
synced 2025-08-01 10:27:45 +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:
|
on:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
@ -16,13 +16,5 @@ jobs:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Format Code
|
- name: Verify That The Code Is Formatted
|
||||||
run: v fmt -w ./
|
run: v fmt -verify .
|
||||||
|
|
||||||
- name: Push To GitHub
|
|
||||||
continue-on-error: true
|
|
||||||
run: |
|
|
||||||
git pull
|
|
||||||
git add ./
|
|
||||||
git commit --amend
|
|
||||||
git push
|
|
Loading…
Add table
Add a link
Reference in a new issue