Skip to content

Commit

Permalink
Update Go to v1.22 (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebrandon1 committed Mar 7, 2024
1 parent 16a47f0 commit 8e79619
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pre-main.yml
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-20.04

steps:
- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: 1.21.7
go-version: 1.22.1

- name: Disable default go problem matcher
run: echo "::remove-matcher owner=go::"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/preflight.yml
Expand Up @@ -17,10 +17,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: 1.21.7
go-version: 1.22.1

- name: Disable default go problem matcher
run: echo "::remove-matcher owner=go::"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -9,7 +9,7 @@ RUN yum install -y gcc git jq make wget

# Install Go binary
ENV GO_DL_URL="https://golang.org/dl"
ENV GO_BIN_TAR="go1.21.7.linux-amd64.tar.gz"
ENV GO_BIN_TAR="go1.22.1.linux-amd64.tar.gz"
ENV GO_BIN_URL_x86_64=${GO_DL_URL}/${GO_BIN_TAR}
ENV GOPATH="/root/go"
RUN if [[ "$(uname -m)" -eq "x86_64" ]] ; then \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.local
Expand Up @@ -9,7 +9,7 @@ RUN yum install -y gcc git jq make wget

# Install Go binary
ENV GO_DL_URL="https://golang.org/dl"
ENV GO_BIN_TAR="go1.21.7.linux-amd64.tar.gz"
ENV GO_BIN_TAR="go1.22.1.linux-amd64.tar.gz"
ENV GO_BIN_URL_x86_64=${GO_DL_URL}/${GO_BIN_TAR}
ENV GOPATH="/root/go"
RUN if [[ "$(uname -m)" -eq "x86_64" ]] ; then \
Expand Down
2 changes: 1 addition & 1 deletion go.mod
@@ -1,6 +1,6 @@
module github.com/test-network-function/oct

go 1.21.7
go 1.22.1

require (
github.com/Masterminds/semver/v3 v3.2.1
Expand Down

0 comments on commit 8e79619

Please sign in to comment.