-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1460 from cyberark/gha-old-go
Fix GH Actions on macOS
- Loading branch information
Showing
1 changed file
with
3 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,12 +45,10 @@ jobs: | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
# Uninstall old go | ||
- run: brew uninstall [email protected] | ||
# Install go1.17 | ||
- run: brew install go@1.17 | ||
# Add go1.17 to PATH | ||
- run: echo "/usr/local/opt/go@1.17/bin" >> $GITHUB_PATH | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '~1.17.0' | ||
# Get go version | ||
- run: go version | ||
# Download go modules | ||
|