Skip to content

Commit

Permalink
Update go to 1.22, workflows, docker
Browse files Browse the repository at this point in the history
  • Loading branch information
p53 committed Jul 2, 2024
1 parent a14f51d commit 0fba536
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
# Test the latest release of Go
strategy:
matrix:
go: ["1.21"]
go: ["1.22"]
steps:
# Setup the workflow to use the specific version of Go
- name: Set up Go 1.x
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.21"]
go: ["2"]
steps:
- uses: actions/setup-go@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "1.21.6"
go-version: "1.22.4"

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21.6"
go-version: "1.22.4"
# Checkout the repository
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG HOMEDIR=/opt/gatekeeper
# Builder
#

FROM --platform=$BUILDPLATFORM golang:1.21.6 AS build-env
FROM --platform=$BUILDPLATFORM golang:1.22.4 AS build-env
ARG HOMEDIR
ARG TARGETOS TARGETARCH
ENV GOOS=$TARGETOS
Expand Down

0 comments on commit 0fba536

Please sign in to comment.