From 3eb63a4b41e75c2c5ee1b9aeb71423961f13c2d5 Mon Sep 17 00:00:00 2001 From: Yash Sethiya Date: Tue, 16 Apr 2024 18:13:41 +0530 Subject: [PATCH] Bump go version to 1.22.2 Signed-off-by: Yash Sethiya --- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/test-gh.yml | 2 +- .github/workflows/trivy-scan.yml | 2 +- go.mod | 2 +- hack/Dockerfile.dev | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index f366f087..476109a8 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.6" + go-version: "1.22.2" - uses: actions/checkout@v2 with: fetch-depth: '0' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f7a25a54..f552640d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.21.6 + go-version: 1.22.2 - name: Set up Cosign uses: sigstore/cosign-installer@v3 diff --git a/.github/workflows/test-gh.yml b/.github/workflows/test-gh.yml index f24fc1d3..b8b787fc 100644 --- a/.github/workflows/test-gh.yml +++ b/.github/workflows/test-gh.yml @@ -29,7 +29,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: "1.21.6" + go-version: "1.22.2" - name: Check out code into the Go module directory uses: actions/checkout@v3.3.0 with: diff --git a/.github/workflows/trivy-scan.yml b/.github/workflows/trivy-scan.yml index 770d290a..14cb8c47 100644 --- a/.github/workflows/trivy-scan.yml +++ b/.github/workflows/trivy-scan.yml @@ -10,7 +10,7 @@ jobs: with: repo: carvel-dev/kbld tool: kbld - goVersion: 1.21.6 + goVersion: 1.22.2 secrets: githubToken: ${{ secrets.GITHUB_TOKEN }} slackWebhookURL: ${{ secrets.SLACK_WEBHOOK_URL }} diff --git a/go.mod b/go.mod index 0bdf971c..1c7e7da3 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module carvel.dev/kbld -go 1.21 +go 1.22 require ( carvel.dev/imgpkg v0.41.1 diff --git a/hack/Dockerfile.dev b/hack/Dockerfile.dev index bd030884..db83dd56 100644 --- a/hack/Dockerfile.dev +++ b/hack/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM golang:1.21 +FROM golang:1.22 RUN apt-get update -y RUN apt-get install docker.io apt-transport-https ca-certificates gnupg python-is-python3 -y