From 12aa96b8e9955229d06d5fef3f607c4a80c451b7 Mon Sep 17 00:00:00 2001 From: Rohit Aggarwal Date: Tue, 14 May 2024 15:11:37 +0530 Subject: [PATCH] Updating go version to 1.22.3 Signed-off-by: Rohit Aggarwal --- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/test-all.yml | 2 +- .github/workflows/test-windows.yml | 2 +- .github/workflows/trivy-scan.yml | 2 +- examples/integrating-with-ytt/internal-templating/go.mod | 4 +++- go.mod | 2 ++ 7 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index b337abfb..95329bce 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -15,7 +15,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: "1.22.2" + go-version: "1.22.3" - uses: actions/checkout@v2 with: fetch-depth: '0' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 187c8bf1..147ed558 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: "1.22.2" + go-version: "1.22.3" - name: Retrieve version run: | diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index d96ba117..377f1498 100644 --- a/.github/workflows/test-all.yml +++ b/.github/workflows/test-all.yml @@ -13,7 +13,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: "1.22.2" + go-version: "1.22.3" - name: Check out code into the Go module directory uses: actions/checkout@v2 with: diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index bc203a53..238fff3c 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -13,7 +13,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: "1.22.2" + go-version: "1.22.3" - name: Check out code into the Go module directory uses: actions/checkout@v2 - name: Run Tests diff --git a/.github/workflows/trivy-scan.yml b/.github/workflows/trivy-scan.yml index c6227ae0..9c4586ad 100644 --- a/.github/workflows/trivy-scan.yml +++ b/.github/workflows/trivy-scan.yml @@ -10,7 +10,7 @@ jobs: with: repo: carvel-dev/ytt tool: ytt - goVersion: "1.22.2" + goVersion: "1.22.3" secrets: githubToken: ${{ secrets.GITHUB_TOKEN }} slackWebhookURL: ${{ secrets.SLACK_WEBHOOK_URL }} diff --git a/examples/integrating-with-ytt/internal-templating/go.mod b/examples/integrating-with-ytt/internal-templating/go.mod index c9930f57..65829fee 100644 --- a/examples/integrating-with-ytt/internal-templating/go.mod +++ b/examples/integrating-with-ytt/internal-templating/go.mod @@ -1,6 +1,8 @@ module example_internal_templating -go 1.17 +go 1.22 + +toolchain go1.22.3 // ensure example works with this copy of ytt; remove before use replace github.com/vmware-tanzu/carvel-ytt => ../../../ diff --git a/go.mod b/go.mod index 6bd610a7..e8771b20 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,8 @@ module github.com/vmware-tanzu/carvel-ytt go 1.22 +toolchain go1.22.3 + require ( github.com/BurntSushi/toml v1.2.1 github.com/aws/aws-lambda-go v1.41.0