From 6d7dff27e0151e13924a76a621388dc4b32b9b49 Mon Sep 17 00:00:00 2001 From: Devanshu Date: Mon, 9 Sep 2024 17:39:14 +0530 Subject: [PATCH] Bump go version to 1.22 Signed-off-by: Devanshu --- .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 +- go.mod | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index be055e71..086a24b7 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.21.9" + go-version: "1.22.5" - uses: actions/checkout@v2 with: fetch-depth: '0' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28d48d4c..e77df6a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: "1.21.9" + go-version: "1.22.5" - name: Set up Cosign uses: sigstore/cosign-installer@v3 diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index a5ad81ef..44b0630e 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.21.9" + go-version: "1.22.5" - 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 91176481..24790dca 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.21.9" + go-version: "1.22.5" - 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 24e52040..8945b5cc 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.21.9" + goVersion: "1.22.5" secrets: githubToken: ${{ secrets.GITHUB_TOKEN }} slackWebhookURL: ${{ secrets.SLACK_WEBHOOK_URL }} diff --git a/go.mod b/go.mod index 89f4340c..6bd610a7 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/vmware-tanzu/carvel-ytt -go 1.21 +go 1.22 require ( github.com/BurntSushi/toml v1.2.1