Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! revert gotip maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov committed Dec 11, 2024
1 parent 2626d5f commit b31aad8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,18 @@ jobs:
with:
go-version: 1.23.x
check-latest: true
- name: Remove the default Go installation
if: matrix.platform == 'windows-latest' || matrix.platform == 'windows-2019'
shell: pwsh
run: |
$go_path = (Get-Command go).Source
Write-Host "Removing Go executable from: $go_path"
Remove-Item -Force $go_path
- name: Install Go tip
run: |
go version
go install golang.org/dl/gotip@latest
gotip download
echo "GOROOT=$HOME/sdk/gotip" >> "$GITHUB_ENV"
echo "GOPATH=$HOME/go" >> "$GITHUB_ENV"
echo "$HOME/go/bin" >> "$GITHUB_PATH"
echo "$HOME/sdk/gotip/bin" >> "$GITHUB_PATH"
- name: Run tests
run: |
set -x
Expand Down

0 comments on commit b31aad8

Please sign in to comment.