Skip to content

Commit 8e79619

Browse files
authored
Update Go to v1.22 (#98)
1 parent 16a47f0 commit 8e79619

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/pre-main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
runs-on: ubuntu-20.04
1414

1515
steps:
16-
- name: Set up Go 1.21
16+
- name: Set up Go 1.22
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: 1.21.7
19+
go-version: 1.22.1
2020

2121
- name: Disable default go problem matcher
2222
run: echo "::remove-matcher owner=go::"

.github/workflows/preflight.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20-
- name: Set up Go 1.21
20+
- name: Set up Go 1.22
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: 1.21.7
23+
go-version: 1.22.1
2424

2525
- name: Disable default go problem matcher
2626
run: echo "::remove-matcher owner=go::"

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN yum install -y gcc git jq make wget
99

1010
# Install Go binary
1111
ENV GO_DL_URL="https://golang.org/dl"
12-
ENV GO_BIN_TAR="go1.21.7.linux-amd64.tar.gz"
12+
ENV GO_BIN_TAR="go1.22.1.linux-amd64.tar.gz"
1313
ENV GO_BIN_URL_x86_64=${GO_DL_URL}/${GO_BIN_TAR}
1414
ENV GOPATH="/root/go"
1515
RUN if [[ "$(uname -m)" -eq "x86_64" ]] ; then \

Dockerfile.local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN yum install -y gcc git jq make wget
99

1010
# Install Go binary
1111
ENV GO_DL_URL="https://golang.org/dl"
12-
ENV GO_BIN_TAR="go1.21.7.linux-amd64.tar.gz"
12+
ENV GO_BIN_TAR="go1.22.1.linux-amd64.tar.gz"
1313
ENV GO_BIN_URL_x86_64=${GO_DL_URL}/${GO_BIN_TAR}
1414
ENV GOPATH="/root/go"
1515
RUN if [[ "$(uname -m)" -eq "x86_64" ]] ; then \

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/test-network-function/oct
22

3-
go 1.21.7
3+
go 1.22.1
44

55
require (
66
github.com/Masterminds/semver/v3 v3.2.1

0 commit comments

Comments
 (0)