Skip to content

Commit

Permalink
Chore: format check
Browse files Browse the repository at this point in the history
  • Loading branch information
o0HalfLife0o committed Nov 9, 2024
1 parent 83bab5d commit 068d67c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,8 @@ jobs:
path: resources
key: xray-geodat-
enableCrossOsArchive: true
- name: Format
if: matrix.os == 'ubuntu-latest'
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then echo "::error ::Please run 'gofmt -w .' on the project root" && exit 1; fi
- name: Test
run: go test -timeout 1h -v ./...

0 comments on commit 068d67c

Please sign in to comment.