From aa3b032207ab2f89e2e1802736b4bf47351be443 Mon Sep 17 00:00:00 2001 From: Anish Ramasekar Date: Wed, 29 Nov 2023 16:29:20 -0800 Subject: [PATCH] ci: set check-latest flag to true in gh workflows (#1191) Signed-off-by: Anish Ramasekar --- .github/workflows/azwi-build.yaml | 1 + .github/workflows/azwi-e2e.yaml | 2 ++ .github/workflows/codecov.yaml | 1 + .github/workflows/create-release-pull-request.yaml | 1 + .github/workflows/create-release.yaml | 1 + 5 files changed, 6 insertions(+) diff --git a/.github/workflows/azwi-build.yaml b/.github/workflows/azwi-build.yaml index cf54d7947..ac4e8575f 100644 --- a/.github/workflows/azwi-build.yaml +++ b/.github/workflows/azwi-build.yaml @@ -36,6 +36,7 @@ jobs: - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version: "1.21" + check-latest: true - name: Build azwi run: | make bin/azwi diff --git a/.github/workflows/azwi-e2e.yaml b/.github/workflows/azwi-e2e.yaml index 37d6e2116..48982875f 100644 --- a/.github/workflows/azwi-e2e.yaml +++ b/.github/workflows/azwi-e2e.yaml @@ -38,6 +38,7 @@ jobs: - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version: "1.21" + check-latest: true - name: Azure CLI run: | echo "Azure CLI Current installed version" @@ -116,6 +117,7 @@ jobs: - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version: "1.21" + check-latest: true - name: Build azwi run: | make bin/azwi diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml index 0ac188eb9..a14f5ccf0 100644 --- a/.github/workflows/codecov.yaml +++ b/.github/workflows/codecov.yaml @@ -22,6 +22,7 @@ jobs: - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version: "^1.21" + check-latest: true - name: Run tests run: make test - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d diff --git a/.github/workflows/create-release-pull-request.yaml b/.github/workflows/create-release-pull-request.yaml index 09ab79b93..49f426a06 100644 --- a/.github/workflows/create-release-pull-request.yaml +++ b/.github/workflows/create-release-pull-request.yaml @@ -35,6 +35,7 @@ jobs: - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version: "1.21" + check-latest: true - run: make release-manifest env: NEW_VERSION: "${{ github.event.inputs.release_version }}" diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index cc18559fd..8dfb30c9e 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -27,6 +27,7 @@ jobs: - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version: "1.21" + check-latest: true - id: get-tag name: Get tag run: echo "tag=$(echo ${{ github.event.pull_request.head.ref }} | sed -e 's/release-//g')" >> $GITHUB_OUTPUT