From 6489f6a800892ddfd2e3dd3fec12807503c21ebf Mon Sep 17 00:00:00 2001 From: Dan Sosedoff Date: Fri, 22 Mar 2024 21:03:07 -0700 Subject: [PATCH] Build on 1.22 (#726) --- .github/workflows/checks.yml | 2 +- .github/workflows/docker.yml | 2 +- .github/workflows/release.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index e2d4de5..f9ca2c8 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -15,7 +15,7 @@ on: env: - GO_VERSION: "1.21" + GO_VERSION: "1.22" concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 498c2fd..1bde409 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -6,7 +6,7 @@ on: - master env: - GO_VERSION: "1.21" + GO_VERSION: "1.22" CGO_ENABLED: 0 IMAGE_REPOSITORY: sosedoff/pgweb diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a66282a..bc919ca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: - "v*" env: - GO_VERSION: "1.21" + GO_VERSION: "1.22" CGO_ENABLED: 0 DOCKER_REPOSITORY: sosedoff/pgweb GHCR_REPOSITORY: sosedoff/pgweb diff --git a/Dockerfile b/Dockerfile index d4dd06b..408e81d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # ------------------------------------------------------------------------------ # Builder Stage # ------------------------------------------------------------------------------ -FROM golang:1.21-bullseye AS build +FROM golang:1.22-bullseye AS build WORKDIR /build diff --git a/go.mod b/go.mod index df7aa56..0d07ccc 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/sosedoff/pgweb -go 1.20 +go 1.22 require ( github.com/BurntSushi/toml v1.1.0