Skip to content

Commit

Permalink
deps: complete the go-1.22 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
frasertweedale committed Nov 26, 2024
1 parent 3814e3a commit 342029a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
ports:
- 5432:5432
runs-on: "ubuntu-latest"
container: golang:1.21
container: golang:1.22
env:
DATABASE_HOST: postgres
DATABASE_PORT: 5432
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ run:
# Define the Go version limit.
# Mainly related to generics support since go1.18.
# Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.18
go: '1.21'
go: '1.22'

# output configuration options
output:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

**Pre-requisites**:

- golang 1.21 (not `gcc-go`)
- golang 1.22 (not `gcc-go`)
- docker or podman (>4.0.0)
- docker-compose or podman-compose
- python3
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module github.com/podengo-project/idmsvc-backend
// scripts/mk/variables.mk GO_VERSION value
// => linters-settings.gofumpt.lang-version
// => run.go
go 1.21
go 1.22

require (
github.com/DATA-DOG/go-sqlmock v1.5.2
Expand Down
2 changes: 1 addition & 1 deletion scripts/mk/variables.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ COMPOSE_FILE ?= $(PROJECT_DIR)/deployments/docker-compose.yaml

CONTAINER_IMAGE_BASE ?= quay.io/$(firstword $(subst +, ,$(QUAY_USER)))/$(APP_NAME)-$(APP_COMPONENT)

GO_VERSION ?= 1.21
GO_VERSION ?= 1.22

# Tools and their dependencies
# Build dependencies
Expand Down
2 changes: 1 addition & 1 deletion tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/podengo-project/idmsvc-backend/tools

// See: https://go.dev/ref/mod#go-mod-edit

go 1.21
go 1.22

toolchain go1.22.5

Expand Down

0 comments on commit 342029a

Please sign in to comment.