Skip to content

Commit

Permalink
Pin go version for GitHub actions (#1267)
Browse files Browse the repository at this point in the history
* Bump version of github action setup-go

* Temporarily pin go version for action running go generate
  • Loading branch information
waciumawanjohi authored Jun 20, 2023
1 parent 9bb6609 commit 52a32e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
with: { fetch-depth: 0 }

- name: set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
go-version: '^1.19.9'

- name: setup carvel tooling binaries
uses: vmware-tanzu/carvel-setup-action@v1
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
cache: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with: {fetch-depth: 0}

- name: set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
with: {fetch-depth: 0}

- name: set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
go-version: '^1.19.9'

- name: setup carvel tooling binaries
uses: vmware-tanzu/carvel-setup-action@v1
Expand Down

0 comments on commit 52a32e0

Please sign in to comment.