Skip to content

Commit

Permalink
Merge pull request #474 from Feggah/fix/pin-go-promote-workflow
Browse files Browse the repository at this point in the history
Pin go version in the promote workflow
  • Loading branch information
Feggah authored Oct 10, 2022
2 parents 8d58196 + 7bf8f9e commit 8446ff3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
default: 'alpha'

env:
GO_VERSION: '1.18'
# Common users. We can't run a step 'if secrets.AWS_USR != ""' but we can run
# a step 'if env.AWS_USR' != ""', so we copy these to succinctly test whether
# credentials have been provided before trying to run steps that need them.
Expand All @@ -28,6 +29,11 @@ jobs:
with:
submodules: true

- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}

- name: Fetch History
run: git fetch --prune --unshallow

Expand Down

0 comments on commit 8446ff3

Please sign in to comment.