Skip to content

Commit

Permalink
build, ci: update Go to 1.20.5
Browse files Browse the repository at this point in the history
  • Loading branch information
tklauser authored and brb committed Jul 3, 2023
1 parent f7f9bdb commit d0360c9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 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@fac708d6674e30b6ba41289acaab6d4b75aa0753
with:
go-version: 1.18
go-version: 1.20.5

- 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@fac708d6674e30b6ba41289acaab6d4b75aa0753
with:
go-version: 1.18
go-version: 1.20.5

- 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 @@ -12,7 +12,7 @@ RUN apt update -y -q && \
git \
llvm \
clang && \
curl -s https://storage.googleapis.com/golang/go1.19.1.linux-amd64.tar.gz | tar -v -C /usr/local -xz
curl -s https://storage.googleapis.com/golang/go1.20.5.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 @@ -29,7 +29,7 @@ release:
docker run \
--rm \
--workdir /pwru \
--volume `pwd`:/pwru docker.io/library/golang:1.18.3 \
--volume `pwd`:/pwru docker.io/library/golang:1.20.5 \
sh -c "apt update && apt install -y make git clang-13 llvm && \
ln -s $(which clang-13) /usr/bin/clang && \
git config --global --add safe.directory /pwru && \
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/cilium/pwru

go 1.18
go 1.20

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

0 comments on commit d0360c9

Please sign in to comment.