Skip to content

Commit

Permalink
fix: format and license ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ozline committed Oct 19, 2024
1 parent c5a8022 commit 8d08977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: |
echo "refer to https://github.com/mvdan/gofumpt for detailed info" &&
GO111MODULE=on go install mvdan.cc/[email protected] &&
make fmt && git add pkg cmd &&
make fmt && git add . &&
git diff --cached --exit-code || (echo 'Please run "make fmt" to verify fmt' && exit 1);
vet:
Expand Down Expand Up @@ -70,5 +70,5 @@ jobs:
- uses: actions/checkout@v3
- name: Check license header
run: |
make license && git add pkg cmd &&
make license && git add . &&
git diff --cached --exit-code || (echo 'Please run "make license" to add license headers' && exit 1);

0 comments on commit 8d08977

Please sign in to comment.