Skip to content

Commit

Permalink
Merge pull request #1460 from cyberark/gha-old-go
Browse files Browse the repository at this point in the history
Fix GH Actions on macOS
  • Loading branch information
szh authored Apr 13, 2022
2 parents bc1fcf4 + 2866da7 commit 8262926
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8262926

Please sign in to comment.