Compare commits

...

3 commits

Author SHA1 Message Date
a85a014e8b
chore(deps): update golangci/golangci-lint docker tag to v2
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/test unknown status
ci/woodpecker/push/build unknown status
2025-04-03 18:04:10 +00:00
ccb816462e fix(deps): update module github.com/alecthomas/kong to v1.10.0
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
2025-04-03 19:59:03 +02:00
561b21150a
chore(deps): update golang docker tag to v1.24.2
Some checks failed
ci/woodpecker/push/test unknown status
ci/woodpecker/push/build unknown status
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/deploy unknown status
2025-04-03 17:06:56 +00:00
5 changed files with 8 additions and 8 deletions

View file

@ -1,19 +1,19 @@
steps: steps:
- name: gofmt - name: gofmt
image: golang:1.24.1 image: golang:1.24.2
commands: commands:
- gofmt -l -s . - gofmt -l -s .
when: when:
- event: push - event: push
- name: vuln-check - name: vuln-check
image: golang:1.24.1 image: golang:1.24.2
commands: commands:
- go install golang.org/x/vuln/cmd/govulncheck@latest - go install golang.org/x/vuln/cmd/govulncheck@latest
- govulncheck ./... - govulncheck ./...
when: when:
- event: push - event: push
- name: golangci-linter - name: golangci-linter
image: golangci/golangci-lint:v1.64.8 image: golangci/golangci-lint:v2.0.2
commands: commands:
- golangci-lint run ./... - golangci-lint run ./...
when: when:

View file

@ -1,6 +1,6 @@
steps: steps:
- name: gotest - name: gotest
image: golang:1.24.1 image: golang:1.24.2
commands: commands:
- go test ./... - go test ./...
when: when:

View file

@ -1,4 +1,4 @@
FROM golang:1.24.1-bookworm AS build FROM golang:1.24.2-bookworm AS build
# Create build workspace folder # Create build workspace folder
WORKDIR /workspace WORKDIR /workspace

2
go.mod
View file

@ -3,7 +3,7 @@ module git.ar21.de/yolokube/country-geo-locations
go 1.23.3 go 1.23.3
require ( require (
github.com/alecthomas/kong v1.9.0 github.com/alecthomas/kong v1.10.0
github.com/go-chi/chi/v5 v5.2.1 github.com/go-chi/chi/v5 v5.2.1
github.com/go-chi/render v1.0.3 github.com/go-chi/render v1.0.3
github.com/hashicorp/go-memdb v1.3.5 github.com/hashicorp/go-memdb v1.3.5

4
go.sum
View file

@ -2,8 +2,8 @@ github.com/ajg/form v1.5.1 h1:t9c7v8JUKu/XxOGBU0yjNpaMloxGEJhUkqFRq0ibGeU=
github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY= github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY=
github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0= github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0=
github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k= github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k=
github.com/alecthomas/kong v1.9.0 h1:Wgg0ll5Ys7xDnpgYBuBn/wPeLGAuK0NvYmEcisJgrIs= github.com/alecthomas/kong v1.10.0 h1:8K4rGDpT7Iu+jEXCIJUeKqvpwZHbsFRoebLbnzlmrpw=
github.com/alecthomas/kong v1.9.0/go.mod h1:p2vqieVMeTAnaC83txKtXe8FLke2X07aruPWXyMPQrU= github.com/alecthomas/kong v1.10.0/go.mod h1:p2vqieVMeTAnaC83txKtXe8FLke2X07aruPWXyMPQrU=
github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc= github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc=
github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4= github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=