From cfb9cf9c3a1428187cddf51aace5c1d01941d04c Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Sun, 15 Sep 2024 18:12:31 +0800 Subject: [PATCH] fixes --- .github/workflows/test.yml | 2 +- pmtiles/show_test.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b226b80..5739e7d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,6 +27,6 @@ jobs: - 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/* + - run: go vet ./pmtiles - name: Run Revive Action by pulling pre-built image uses: docker://morphy/revive-action:v2 diff --git a/pmtiles/show_test.go b/pmtiles/show_test.go index 9364d23..3ea59c0 100644 --- a/pmtiles/show_test.go +++ b/pmtiles/show_test.go @@ -3,7 +3,6 @@ package pmtiles import ( "bytes" "encoding/json" - "fmt" "github.com/stretchr/testify/assert" "log" "os"