Skip to content

Commit

Permalink
Merge pull request #95 from JenswBE/bump-go-to-1.22
Browse files Browse the repository at this point in the history
Bump to Go 1.22
  • Loading branch information
JenswBE committed Feb 12, 2024
2 parents 830ecfb + fa22071 commit 76080ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:

env:
GO_VERSION: "1.21" # Also update Dockerfile when bumping
GO_VERSION: "1.22" # Also update Dockerfile when bumping
DOCKER_HUB_USER: jenswbebot
DOCKER_HUB_REPO: jenswbe/dead-link-checker
PLATFORMS: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Also update GitHub Actions workflow when bumping
# Based on https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/
FROM --platform=${BUILDPLATFORM} docker.io/library/golang:1.21 AS builder
FROM --platform=${BUILDPLATFORM} docker.io/library/golang:1.22 AS builder
WORKDIR /src/
RUN GOARCH=amd64 go install golang.org/x/vuln/cmd/govulncheck@latest
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/JenswBE/dead-link-checker

go 1.21
go 1.22

require (
github.com/adhocore/gronx v1.6.7
Expand Down

0 comments on commit 76080ee

Please sign in to comment.