Skip to content

Commit

Permalink
Switch to actions/setup-go@v2 to avoid PATH hack (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusweig authored Jun 7, 2020
1 parent 4ec386c commit b0065ed
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,14 @@ jobs:
steps:

- name: Set up Go 1.13
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: 1.13
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Add GOPATH/bin to PATH
run: echo "::add-path::$(go env GOPATH)/bin"

- name: Install dependencies
run: go mod download

Expand Down

0 comments on commit b0065ed

Please sign in to comment.