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

View File

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

View File

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

View File

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