Skip to content

Commit

Permalink
Switch to go 1.21 (#702)
Browse files Browse the repository at this point in the history
* Switch to go 1.21

* Update golangci-lint version
  • Loading branch information
sosedoff committed Mar 23, 2024
1 parent db05989 commit 36436f3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:


env:
GO_VERSION: "1.20"
GO_VERSION: "1.21"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- master

env:
GO_VERSION: "1.20"
GO_VERSION: "1.21"
CGO_ENABLED: 0
IMAGE_REPOSITORY: sosedoff/pgweb

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ------------------------------------------------------------------------------
# Builder Stage
# ------------------------------------------------------------------------------
FROM golang:1.20-bullseye AS build
FROM golang:1.21-bullseye AS build

WORKDIR /build

Expand Down

0 comments on commit 36436f3

Please sign in to comment.