You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-20Lines changed: 1 addition & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ jobs:
18
18
runs-on: ${{ matrix.platform }}
19
19
steps:
20
20
- name: Install Go
21
-
uses: actions/setup-go@v1
21
+
uses: actions/setup-go@v2
22
22
with:
23
23
go-version: ${{ matrix.go-version }}
24
24
- name: Checkout code
@@ -171,25 +171,6 @@ jobs:
171
171
172
172
## Known bugs
173
173
174
-
* https://github.com/actions/setup-go/issues/14
175
-
176
-
The `setup-go` action doesn't set `PATH`, so currently it's not possible to `go
177
-
install` a program and run it directly. Until that's fixed, consider absolute
178
-
paths like `$(go env GOPATH)/bin/program`.
179
-
180
-
A workaround is to use a built-in [workflow command](https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#adding-a-system-path)
181
-
to add `GOBIN` to the system's `PATH`. Note that `shell: bash` is supported on
182
-
all platforms:
183
-
184
-
```yaml
185
-
- name: Add GOBIN to PATH
186
-
run: echo "::add-path::$(go env GOPATH)/bin"
187
-
shell: bash
188
-
```
189
-
190
-
Note that the upcoming `actions/setup-go@v2` fixes this issue, but is still in
191
-
beta as of April 2020.
192
-
193
174
* https://github.community/t5/GitHub-Actions/git-config-core-autocrlf-should-default-to-false/m-p/30445 and https://github.com/actions/checkout/issues/135
194
175
195
176
`git config core.autocrlf`defaults to true, so be careful about CRLF endings in
0 commit comments