Skip to content

Commit

Permalink
feat(build): bump Golang to version 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
npdgm committed Dec 14, 2023
1 parent 20327a4 commit 4014073
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
env:
VERSION_KIND: v0.20.0
VERSION_GOLANGCILINT: latest
VERSION_GOLANG: '1.20.7'
VERSION_GOLANG: '1.21.5'

jobs:
static-analysis:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
COMMIT_EMAIL: monkeynator@enix.io
VERSION_KIND: v0.20.0
VERSION_GOLANGCILINT: latest
VERSION_GOLANG: '1.20.7'
VERSION_GOLANG: '1.21.5'
VERSION_CHARTRELEASER: '1.6.0'
VERSION_OCI_BUSYBOX: '1.36.1-uclibc'
VERSION_OCI_ALPINE: '3.18.3'
Expand Down Expand Up @@ -602,6 +602,7 @@ jobs:
entries = []
changelog = requests.get(os.environ['GITHUB_CHANGELOG_URL']).text
print(changelog)
mapping = None
for line in changelog.splitlines():
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# https://github.com/hadolint/hadolint/issues/861
# hadolint ignore=DL3029
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.20.7-alpine as build
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.21.5-alpine as build

WORKDIR $GOPATH/src/github.com/enix/x509-certificate-exporter

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/enix/x509-certificate-exporter/v3

go 1.20
go 1.21

require (
github.com/bmatcuk/doublestar/v4 v4.6.0
Expand Down

0 comments on commit 4014073

Please sign in to comment.