From 1a8888ae6c3e206f8c8d1777fbd08531b6f88881 Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Mon, 29 Jan 2024 10:54:59 +0800 Subject: [PATCH] upgrade to go 1.21 [#117] --- .github/workflows/test.yml | 4 ++-- go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1a7392c..9e560c0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '^1.18.0' + go-version: '^1.21.0' - run: go test ./pmtiles fmt_vet_lint: runs-on: ubuntu-latest @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '^1.18.0' + go-version: '^1.21.0' - 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 diff --git a/go.mod b/go.mod index 9ad4061..8f14549 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/protomaps/go-pmtiles -go 1.18 +go 1.21 require ( github.com/RoaringBitmap/roaring v1.5.0