Print a JSON representation of part of the header [#63] #391
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "^1.22.7" | |
- run: go test ./pmtiles | |
fmt_vet_lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "^1.22.7" | |
- run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi | |
- run: go vet caddy/pmtiles_proxy.go | |
- run: go vet main.go | |
- run: go vet pmtiles/* | |
- name: Run Revive Action by pulling pre-built image | |
uses: docker://morphy/revive-action:v2 |