Switch to go 1.21 (#702)

* Switch to go 1.21

* Update golangci-lint version
This commit is contained in:
Dan Sosedoff 2024-03-22 20:36:41 -07:00 committed by GitHub
parent db05989d07
commit 36436f3aa7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ on:
env:
GO_VERSION: "1.20"
GO_VERSION: "1.21"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@ -97,7 +97,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.51.2
version: v1.57.1
fmt:
name: fmt

View File

@ -6,7 +6,7 @@ on:
- master
env:
GO_VERSION: "1.20"
GO_VERSION: "1.21"
CGO_ENABLED: 0
IMAGE_REPOSITORY: sosedoff/pgweb

View File

@ -6,7 +6,7 @@ on:
- "v*"
env:
GO_VERSION: "1.20"
GO_VERSION: "1.21"
CGO_ENABLED: 0
DOCKER_REPOSITORY: sosedoff/pgweb
GHCR_REPOSITORY: sosedoff/pgweb

View File

@ -1,7 +1,7 @@
# ------------------------------------------------------------------------------
# Builder Stage
# ------------------------------------------------------------------------------
FROM golang:1.20-bullseye AS build
FROM golang:1.21-bullseye AS build
WORKDIR /build