Skip to content

Commit

Permalink
Ensure all workflows use correct go version (#1115)
Browse files Browse the repository at this point in the history
  • Loading branch information
kian99 authored Dec 8, 2023
1 parent 8ad7773 commit 67090f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/charm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
with:
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: Build local images
run: make jimm-image
- name: Upload charm to charmhub
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,9 @@ jobs:
# So if the compose returns with exit code 0 then the JIMM server successfully started.
steps:
- uses: actions/checkout@v4
# Specify a specific version of Go until GH runners no longer comes with anything below 1.21
- name: Setup Go 1.21.x
uses: actions/setup-go@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21.x'
go-version-file: 'go.mod'
- name: Pull candid repo for test environment
run: |
git clone https://github.com/canonical/candid.git ./tmp/candid
Expand Down

0 comments on commit 67090f7

Please sign in to comment.