From 8251f209014f418cbb71a7fec107405e849822c4 Mon Sep 17 00:00:00 2001 From: rcmadhankumar Date: Mon, 15 Apr 2024 20:11:22 +0530 Subject: [PATCH] Bump go version 1.22.2 Signed-off-by: rcmadhankumar --- .github/workflows/golangci-lint.yml | 6 +++--- .github/workflows/release.yml | 2 +- .github/workflows/test-gh.yml | 2 +- .github/workflows/trivy-scan.yml | 2 +- go.mod | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 0d01b4f0..1ba3eb3b 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -15,13 +15,13 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: 1.20.12 + go-version: 1.22.2 - uses: actions/checkout@v2 with: fetch-depth: '0' - name: golangci-lint - uses: golangci/golangci-lint-action@v3.4.0 + uses: golangci/golangci-lint-action@v4.0.0 with: - version: v1.52.2 + version: v1.55.2 args: -v diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6599e94f..16357a96 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.20.12 + go-version: 1.22.2 - name: Retrieve version run: | echo "TAG_NAME=$(echo ${{ github.ref }} | grep -Eo 'v[0-9].*')" >> $GITHUB_OUTPUT diff --git a/.github/workflows/test-gh.yml b/.github/workflows/test-gh.yml index ca9e4541..ef52c81f 100644 --- a/.github/workflows/test-gh.yml +++ b/.github/workflows/test-gh.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v1 with: - go-version: 1.20.12 + go-version: 1.22.2 - name: Check out code into the Go module directory uses: actions/checkout@v1 with: diff --git a/.github/workflows/trivy-scan.yml b/.github/workflows/trivy-scan.yml index 50c19638..73674847 100644 --- a/.github/workflows/trivy-scan.yml +++ b/.github/workflows/trivy-scan.yml @@ -10,7 +10,7 @@ jobs: with: repo: carvel-dev/vendir tool: vendir - goVersion: 1.20.12 + goVersion: 1.22.2 secrets: githubToken: ${{ secrets.GITHUB_TOKEN }} slackWebhookURL: ${{ secrets.SLACK_WEBHOOK_URL }} diff --git a/go.mod b/go.mod index 7d7625e7..1cc783ee 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/vmware-tanzu/carvel-vendir -go 1.20 +go 1.22 require ( github.com/bmatcuk/doublestar v1.2.1