Skip to content

Commit

Permalink
ci: set check-latest flag to true in gh workflows (#1191)
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
  • Loading branch information
aramase committed Nov 30, 2023
1 parent 2bb57bc commit aa3b032
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/azwi-build.yaml
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/azwi-e2e.yaml
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codecov.yaml
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/create-release-pull-request.yaml
Expand Up @@ -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 }}"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/create-release.yaml
Expand Up @@ -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
Expand Down

0 comments on commit aa3b032

Please sign in to comment.