Skip to content

Commit

Permalink
Upgrade go to 1.22.2 (radius-project#7559)
Browse files Browse the repository at this point in the history
# Description

This is to upgrade to 1.22.2. However we might need to wait until the
fix for coverage drop issue is ready -
golang/go#65570

## Type of change

- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

Signed-off-by: Young Bu Park <[email protected]>
  • Loading branch information
youngbupark authored May 1, 2024
1 parent df0551d commit bb49384
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ concurrency:

env:
# Go version to install
GOVER: '1.21.7'
GOVER: '1.22.2'

# gotestsum version - see: https://github.com/gotestyourself/gotestsum
GOTESTSUMVERSION: 1.10.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/functional-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ on:

env:
# Go version
GOVER: '1.21.7'
GOVER: '1.22.2'
GOPROXY: https://proxy.golang.org

# gotestsum version - see: https://github.com/gotestyourself/gotestsum
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
GOVER: '1.21.7'
GOVER: '1.22.2'
GOPROXY: https://proxy.golang.org
HELM_CHARTS_DIR: deploy/Chart
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/long-running-azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ on:

env:
# Go version
GOVER: "1.21.7"
GOVER: "1.22.2"
GOPROXY: https://proxy.golang.org

# gotestsum version - see: https://github.com/gotestyourself/gotestsum
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'radius-project/radius'
env:
GOVER: '1.21.7'
GOVER: '1.22.2'
GOPRIVATE: github.com/radius-project
steps:
- name: Checkout radius repository
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -972,8 +972,6 @@ github.com/ulikunitz/xz v0.5.10 h1:t92gobL9l3HE202wg3rlk19F6X+JOxl9BBrCCMYEYd8=
github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
github.com/vippsas/go-cosmosdb v0.0.0-20230118095602-f4e4b9f1c352 h1:N4BwZihfs9zOPo1R+aSIyLmM2qRYoN2gEuleOHUhjBA=
github.com/vippsas/go-cosmosdb v0.0.0-20230118095602-f4e4b9f1c352/go.mod h1:MC5grluKkU7tz2VMDXi7AOj2N4spGFebM5w//g2WpyU=
github.com/wI2L/jsondiff v0.2.0 h1:dE00WemBa1uCjrzQUUTE/17I6m5qAaN0EMFOg2Ynr/k=
github.com/wI2L/jsondiff v0.2.0/go.mod h1:axTcwtBkY4TsKuV+RgoMhHyHKKFRI6nnjRLi8LLYQnA=
github.com/wI2L/jsondiff v0.5.1 h1:xS4zYUspH4U3IB0Lwo9+jv+MSRJSWMF87Y4BpDbFMHo=
github.com/wI2L/jsondiff v0.5.1/go.mod h1:qqG6hnK0Lsrz2BpIVCxWiK9ItsBCpIZQiv0izJjOZ9s=
github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=
Expand Down
2 changes: 1 addition & 1 deletion test/magpiego/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Issues on M1 mac: https://github.com/docker/for-mac/issues/5831
# it is a multistage docker creation for small magpie image
FROM amd64/golang:1.21-alpine
FROM amd64/golang:1.22-alpine
WORKDIR /usr/src/tmpapp

# Download necessary Go modules
Expand Down
2 changes: 1 addition & 1 deletion test/magpiego/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/radius-project/radius/test/magpiego

go 1.21
go 1.22

require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.11.1
Expand Down
2 changes: 1 addition & 1 deletion test/testrp/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Issues on M1 mac: https://github.com/docker/for-mac/issues/5831
# it is a multistage docker creation for small magpie image
FROM amd64/golang:1.21-alpine
FROM amd64/golang:1.22-alpine
WORKDIR /usr/src/tmpapp

# Download necessary Go modules
Expand Down

0 comments on commit bb49384

Please sign in to comment.