Switch to go 1.20 (#668)
* Switch to go 1.20 * Fix golang version definition * Upgrade golangci-lint to v1.51.2
This commit is contained in:
parent
f94bc9a4dd
commit
4d32e3b2c5
4
.github/workflows/checks.yml
vendored
4
.github/workflows/checks.yml
vendored
@ -15,7 +15,7 @@ on:
|
||||
|
||||
|
||||
env:
|
||||
GO_VERSION: 1.19
|
||||
GO_VERSION: "1.20"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
@ -97,7 +97,7 @@ jobs:
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: v1.50.1
|
||||
version: v1.51.2
|
||||
|
||||
fmt:
|
||||
name: fmt
|
||||
|
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@ -6,7 +6,7 @@ on:
|
||||
- master
|
||||
|
||||
env:
|
||||
GO_VERSION: 1.19
|
||||
GO_VERSION: "1.20"
|
||||
CGO_ENABLED: 0
|
||||
IMAGE_REPOSITORY: sosedoff/pgweb
|
||||
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -6,7 +6,7 @@ on:
|
||||
- "v*"
|
||||
|
||||
env:
|
||||
GO_VERSION: 1.19
|
||||
GO_VERSION: "1.20"
|
||||
CGO_ENABLED: 0
|
||||
DOCKER_REPOSITORY: sosedoff/pgweb
|
||||
GHCR_REPOSITORY: sosedoff/pgweb
|
||||
|
@ -1,7 +1,7 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# Builder Stage
|
||||
# ------------------------------------------------------------------------------
|
||||
FROM golang:1.19-bullseye AS build
|
||||
FROM golang:1.20-bullseye AS build
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user