From 46cbce5523fbf7a0399afd64dc272061f9008f71 Mon Sep 17 00:00:00 2001 From: Madhankumar Chellamuthu Date: Mon, 15 Apr 2024 15:04:54 +0530 Subject: [PATCH] test Signed-off-by: Madhankumar Chellamuthu --- .github/workflows/gh-test-external-registry.yml | 6 +++--- .github/workflows/gh-test.yml | 4 ++-- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/release.yml | 2 +- hack/build.sh | 2 ++ 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gh-test-external-registry.yml b/.github/workflows/gh-test-external-registry.yml index 9370bb59a..ff746026a 100644 --- a/.github/workflows/gh-test-external-registry.yml +++ b/.github/workflows/gh-test-external-registry.yml @@ -24,9 +24,9 @@ jobs: environment: TanzuNet Registry Dev e2e steps: - name: Set up Go 1.x - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: "1.22.2" + go-version: '1.22.2' - name: Check out code into the Go module directory uses: actions/checkout@v2 with: @@ -61,7 +61,7 @@ jobs: environment: GCR e2e steps: - name: Set up Go 1.x - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: "1.22.2" - name: Check out code into the Go module directory diff --git a/.github/workflows/gh-test.yml b/.github/workflows/gh-test.yml index 552093863..0f0abe473 100644 --- a/.github/workflows/gh-test.yml +++ b/.github/workflows/gh-test.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go 1.x - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: "1.22.2" - name: Check out code into the Go module directory @@ -35,7 +35,7 @@ jobs: runs-on: windows-latest steps: - name: Set up Go 1.x - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: "1.22.2" - name: Check out code into the Go module directory diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 0ca2cbb83..f5c875051 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go 1.x - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: "1.22.2" - uses: actions/checkout@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0f0e886f3..988bd15db 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.22.2 - name: Set up Cosign diff --git a/hack/build.sh b/hack/build.sh index 6481c1276..4538921a4 100755 --- a/hack/build.sh +++ b/hack/build.sh @@ -4,6 +4,8 @@ set -e -x -u # makes builds reproducible export CGO_ENABLED=0 +go version +which go go fmt ./cmd/... ./pkg/... ./test/... go mod vendor