diff --git a/.github/workflows/build_code.yml b/.github/workflows/build_code.yml index 645b0d44..1d9f4060 100644 --- a/.github/workflows/build_code.yml +++ b/.github/workflows/build_code.yml @@ -12,11 +12,19 @@ name: Build Code jobs: build: runs-on: ubuntu-latest + defaults: + run: + shell: pwsh steps: - name: Install Go uses: actions/setup-go@v2 with: go-version: 1.17 + - name: Override Go ♻️ + run: | + New-Item -Path ./bin -ItemType Directory + Invoke-WebRequest 'https://github.com/jandedobbeleer/go/releases/download/1.17.5/go' -OutFile "$env:GOROOT/bin/go" + chmod a+x "$env:GOROOT/bin/go" 2>&1 - name: Checkout code uses: actions/checkout@v2 - name: Run GoReleaser diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dde00839..8203bfe6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,7 @@ jobs: - name: Override Go ♻️ run: | New-Item -Path ./bin -ItemType Directory - Invoke-WebRequest 'https://github.com/jandedobbeleer/go/releases/download/1.17.4/go' -OutFile "$env:GOROOT/bin/go" + Invoke-WebRequest 'https://github.com/jandedobbeleer/go/releases/download/1.17.5/go' -OutFile "$env:GOROOT/bin/go" chmod a+x "$env:GOROOT/bin/go" 2>&1 - name: Tag HEAD 😸 run: git tag ${{ needs.changelog.outputs.tag }}