Skip to content

Commit

Permalink
Install go version using the setup-go@v5 action (#14554)
Browse files Browse the repository at this point in the history
Also update the version of the checkout action to avoid a warning
  • Loading branch information
sergiocazzolato authored Sep 30, 2024
1 parent 15296f9 commit dca4ae7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# needed for git commit history
fetch-depth: 0
Expand All @@ -40,6 +40,13 @@ jobs:
sudo apt update
sudo apt build-dep -y "${{ github.workspace }}/src/github.com/snapcore/snapd"
- name: Install the go version
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.18.10'
- run: go version

- name: Install the go snap
run: |
sudo snap install --classic --channel="${{ matrix.gochannel }}" go
Expand Down

0 comments on commit dca4ae7

Please sign in to comment.