Skip to content

Commit

Permalink
Bump go to 1.21 and run go mod tidy
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Paolinelli <[email protected]>
  • Loading branch information
fedepaol committed Mar 5, 2024
1 parent 996490a commit 3c39362
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: '1.20'
go-version: '1.21'

- name: Build image
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
go: ["1.20"]
go: ["1.21"]
name: Go ${{ matrix.go }}
steps:
- name: Checkout Metal LB Operator
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.2

FROM --platform=$BUILDPLATFORM docker.io/golang:1.20 AS builder
FROM --platform=$BUILDPLATFORM docker.io/golang:1.21 AS builder
ARG GIT_COMMIT=dev
ARG GIT_BRANCH=dev

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/metallb/metallb-operator

go 1.20
go 1.21

require (
github.com/go-logr/logr v1.4.1
Expand Down
Loading

0 comments on commit 3c39362

Please sign in to comment.