Skip to content

Commit

Permalink
Bump Go version to 1.23.1
Browse files Browse the repository at this point in the history
This also fixes Docker build issues.

Suggested-by:  André Martins <[email protected]>
Signed-off-by: Martynas Pumputis <[email protected]>
  • Loading branch information
brb committed Sep 13, 2024
1 parent 3bf9d91 commit db68c01
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: 1.21.5
go-version: 1.23.1

- name: Generate the artifacts
run: make release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: 1.21.5
go-version: 1.23.1

- name: Check module vendoring
run: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt update -y -q && \
llvm \
clang \
gcc flex bison gcc-aarch64* libc6-dev-arm64-cross && \
curl -s https://storage.googleapis.com/golang/go1.20.5.linux-amd64.tar.gz | tar -v -C /usr/local -xz
curl -s https://storage.googleapis.com/golang/go1.23.1.linux-amd64.tar.gz | tar -v -C /usr/local -xz

WORKDIR /pwru
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ release:
docker run \
--rm \
--workdir /pwru \
--volume `pwd`:/pwru docker.io/library/golang:1.21.5 \
--volume `pwd`:/pwru docker.io/library/golang:1.23.1 \
sh -c "apt update && apt install -y make git clang-15 llvm curl gcc flex bison gcc-aarch64* libc6-dev-arm64-cross && \
ln -s /usr/bin/clang-15 /usr/bin/clang && \
git config --global --add safe.directory /pwru && \
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/cilium/pwru

go 1.21.0

toolchain go1.21.6
go 1.23.1

require (
github.com/cheggaaa/pb/v3 v3.1.5
Expand Down

0 comments on commit db68c01

Please sign in to comment.