Skip to content

Commit

Permalink
make fmt a separate CI step
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Nov 12, 2023
1 parent 77b2a84 commit 376ea25
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,11 @@ jobs:
with:
go-version: '^1.18.0'
- run: go test ./pmtiles
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '^1.18.0'
- run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi

0 comments on commit 376ea25

Please sign in to comment.