From 3f71ffb32b797ea354b27f56e46dfb0a02cb9604 Mon Sep 17 00:00:00 2001 From: Rohit Aggarwal Date: Tue, 11 Jun 2024 12:08:01 +0530 Subject: [PATCH] Bumping go version to 1.22.4 Signed-off-by: Rohit Aggarwal --- .../workflows/gh-test-external-registry.yml | 39 +------------------ .github/workflows/gh-test.yml | 4 +- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/trivy-scan.yml | 2 +- 5 files changed, 6 insertions(+), 43 deletions(-) diff --git a/.github/workflows/gh-test-external-registry.yml b/.github/workflows/gh-test-external-registry.yml index 9370bb59a..b569e785b 100644 --- a/.github/workflows/gh-test-external-registry.yml +++ b/.github/workflows/gh-test-external-registry.yml @@ -18,43 +18,6 @@ permissions: security-events: none statuses: none jobs: - test-harbor: - name: Test GH with Harbor - runs-on: ubuntu-latest - environment: TanzuNet Registry Dev e2e - steps: - - name: Set up Go 1.x - uses: actions/setup-go@v3 - with: - go-version: "1.22.2" - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - with: - ref: ${{ github.event.pull_request.head.sha }} - path: src/github.com/${{ github.repository }} - persist-credentials: false - - name: Run Tests - env: - IMGPKG_E2E_IMAGE: "dev.registry.tanzu.vmware.com/imgpkg/github-action-test-relocation" - IMGPKG_E2E_RELOCATION_REPO: "dev.registry.tanzu.vmware.com/imgpkg/github-action-imgpkg-test" - TanzuNetDevUsername: ${{ secrets.TanzuNetDevUsername }} - TanzuNetDevPassword: ${{ secrets.TanzuNetDevPassword }} - run: | - set -e - - # Prevent conflicts from multiple e2e tests run in parallel from diff PR's - export IMGPKG_E2E_IMAGE="$IMGPKG_E2E_IMAGE-$GITHUB_RUN_ID" - export IMGPKG_E2E_RELOCATION_REPO="$IMGPKG_E2E_RELOCATION_REPO-$GITHUB_RUN_ID" - - export GOPATH=$(echo `pwd`) - export PATH="$PATH:$GOPATH/bin" - cd src/github.com/${{ github.repository }} - - docker login dev.registry.tanzu.vmware.com -u "$TanzuNetDevUsername" -p "$TanzuNetDevPassword" - # pull registry for e2e tests that require a locally running docker registry. i.e. airgapped env tests - docker pull registry:2 - - ./hack/test-all.sh test-gcr: name: Test GH with GCR runs-on: ubuntu-latest @@ -63,7 +26,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: "1.22.2" + go-version: "1.22.4" - name: Check out code into the Go module directory uses: actions/checkout@v2 with: diff --git a/.github/workflows/gh-test.yml b/.github/workflows/gh-test.yml index 552093863..67bbe4294 100644 --- a/.github/workflows/gh-test.yml +++ b/.github/workflows/gh-test.yml @@ -14,7 +14,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: "1.22.2" + go-version: "1.22.4" - name: Check out code into the Go module directory uses: actions/checkout@v2 with: @@ -37,7 +37,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: "1.22.2" + go-version: "1.22.4" - name: Check out code into the Go module directory uses: actions/checkout@v2 with: diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 0ca2cbb83..dde68d1b3 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: "1.22.2" + go-version: "1.22.4" - uses: actions/checkout@v2 with: fetch-depth: '0' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0f0e886f3..c8a9e9868 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.22.2 + go-version: 1.22.4 - name: Set up Cosign uses: sigstore/cosign-installer@v3 - name: Retrieve version diff --git a/.github/workflows/trivy-scan.yml b/.github/workflows/trivy-scan.yml index 78a80b5e6..5c60bdfad 100644 --- a/.github/workflows/trivy-scan.yml +++ b/.github/workflows/trivy-scan.yml @@ -10,7 +10,7 @@ jobs: with: repo: carvel-dev/imgpkg tool: imgpkg - goVersion: 1.22.2 + goVersion: 1.22.4 secrets: githubToken: ${{ secrets.GITHUB_TOKEN }} slackWebhookURL: ${{ secrets.SLACK_WEBHOOK_URL }}