Skip to content

Commit

Permalink
Update go version to 1.23
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Fredette <afredette@redhat.com>
  • Loading branch information
anfredette committed Jan 2, 2025
1 parent 48d744b commit 92de252
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-24.04
strategy:
matrix:
go: ['1.22']
go: ['1.23']
oci_bin: ['docker', 'podman']
env:
BPFMAN_AGENT_IMG: quay.io/bpfman/bpfman-agent:int-test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ['1.22']
go: ['1.23']
arch:
- arch: amd64
filename: linux-x86_64
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
run: make test

- name: Archive Go code coverage results
if: ${{ matrix.arch.arch == 'amd64' && matrix.go == '1.22' }}
if: ${{ matrix.arch.arch == 'amd64' && matrix.go == '1.23' }}
uses: actions/upload-artifact@v4
with:
name: coverage-go
Expand Down
2 changes: 1 addition & 1 deletion Containerfile.bpfman-agent
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Build the manager binary
ARG BUILDPLATFORM

FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22 AS bpfman-agent-build
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.23 AS bpfman-agent-build

# The following ARGs are set internally by docker/build-push-action in github actions
ARG TARGETOS
Expand Down
2 changes: 1 addition & 1 deletion Containerfile.bpfman-operator
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Build the manager binary
ARG BUILDPLATFORM

FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22 AS bpfman-operator-build
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.23 AS bpfman-operator-build

ARG BUILDPLATFORM

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/bpfman/bpfman-operator

go 1.22.0
go 1.23.0

toolchain go1.22.2
toolchain go1.23.4

require (
github.com/bpfman/bpfman v0.5.5-0.20241203131329-c0f90bcfe0c7
Expand Down

0 comments on commit 92de252

Please sign in to comment.