Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Go to v1.21.0 #1344

Merged
merged 1 commit into from
Aug 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ runs:
echo '{ "auths": {} }' >> ${PFLT_DOCKERCONFIG}
shell: bash

- name: Set up Go 1.20
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.20.7
go-version: 1.21.0

- name: Disable default go problem matcher
run: echo "::remove-matcher owner=go::"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Go 1.20
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.20.7
go-version: 1.21.0

- name: Install ginkgo
run: make install-tools
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.20
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.20.7
go-version: 1.21.0

- name: Check out code into the Go module directory
uses: actions/checkout@v3
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pre-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
SHELL: /bin/bash

steps:
- name: Set up Go 1.20
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.20.7
go-version: 1.21.0

- name: Disable default go problem matcher
run: echo "::remove-matcher owner=go::"
Expand Down Expand Up @@ -141,10 +141,10 @@ jobs:
SHELL: /bin/bash

steps:
- name: Set up Go 1.20
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.20.7
go-version: 1.21.0

- name: Disable default go problem matcher
run: echo "::remove-matcher owner=go::"
Expand Down Expand Up @@ -201,10 +201,10 @@ jobs:
touch ${PFLT_DOCKERCONFIG}
echo '{ "auths": {} }' >> ${PFLT_DOCKERCONFIG}

- name: Set up Go 1.20
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.20.7
go-version: 1.21.0

- name: Disable default go problem matcher
run: echo "::remove-matcher owner=go::"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-rhcos-mapping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Execute `make update-rhcos-versions`
run: make update-rhcos-versions

- name: Set up Go 1.20
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.20.7
go-version: 1.21.0

# This prevents any failures due to the updated rhcos_versions_map file from
# making it into the PR phase.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN \
# Install Go binary and set the PATH
ENV \
GO_DL_URL=https://golang.org/dl \
GO_BIN_TAR=go1.20.7.linux-amd64.tar.gz \
GO_BIN_TAR=go1.21.0.linux-amd64.tar.gz \
GOPATH=/root/go
ENV GO_BIN_URL_x86_64=${GO_DL_URL}/${GO_BIN_TAR}
RUN \
Expand Down
2 changes: 1 addition & 1 deletion docs/test-standalone.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ make install-tools

Dependency|Minimum Version
---|---
[GoLang](https://golang.org/dl/)|1.20
[GoLang](https://golang.org/dl/)|1.21
[golangci-lint](https://golangci-lint.run/usage/install/)|1.53.3
[jq](https://stedolan.github.io/jq/)|1.6
[OpenShift Client](https://mirror.openshift.com/pub/openshift-v4/clients/ocp/)|4.12
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/test-network-function/cnf-certification-test

go 1.20
go 1.21

require (
github.com/Masterminds/semver/v3 v3.2.1
Expand Down
40 changes: 40 additions & 0 deletions go.sum

Large diffs are not rendered by default.