Skip to content

Commit

Permalink
ci: use the Go version in go.mod instead of a hard-coded one (#276)
Browse files Browse the repository at this point in the history
## Summary

PR is a follow-up of #257.

## License Acceptance

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.

Signed-off-by: Hsing-Yu (David) Chen <davidhsingyuchen@gmail.com>
  • Loading branch information
davidhsingyuchen authored Mar 8, 2023
1 parent 8faa7de commit e2d9232
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release-installer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version-file: go.mod
cache: true
- uses: actions/checkout@v3
- name: Clean up previous files
run: |
Expand Down Expand Up @@ -88,7 +89,8 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version-file: go.mod
cache: true
- uses: actions/checkout@v3
- name: Clean up previous files
run: |
Expand Down

0 comments on commit e2d9232

Please sign in to comment.