1
Fork 0
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:
RGBCube 2022-12-03 17:56:37 +03:00 committed by RGBCube
parent 5db1eae976
commit 074af63905
2 changed files with 28 additions and 36 deletions

View file

@ -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 .