Skip to content

Commit

Permalink
Go 1 22 7 (#185)
Browse files Browse the repository at this point in the history
* make download cmd hidden

* change to go 1.22.7
  • Loading branch information
bdon authored Sep 11, 2024
1 parent 01b2278 commit 8d023e2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "^1.21.0"
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.21.0"
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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.5-alpine3.19 AS builder
FROM golang:1.22.7-alpine3.19 AS builder
COPY . /workspace
WORKDIR /workspace
ENV CGO_ENABLED=0
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/protomaps/go-pmtiles

go 1.22.5
go 1.22.7

require (
cloud.google.com/go/storage v1.43.0
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ var cli struct {
DownloadThreads int `default:"4" help:"Number of download threads."`
DryRun bool `help:"Calculate new parts to download, but don't download them."`
Overfetch float32 `default:"0.05" help:"What ratio of extra data to download to minimize # requests; 0.2 is 20%"`
} `cmd:"" help:"Upload a local archive to remote storage."`
} `cmd:"" help:"Download a local archive to remote storage." hidden:""`

Upload struct {
Input string `arg:"" type:"existingfile"`
Expand Down

0 comments on commit 8d023e2

Please sign in to comment.