|
|
@ -23,7 +23,7 @@ jobs: |
|
|
|
uses: actions/setup-python@v2 |
|
|
|
uses: actions/setup-python@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
python-version: 3.9 |
|
|
|
python-version: 3.9 |
|
|
|
# GO_VERSION and GOCACHE are used by the cache task, so the go |
|
|
|
# GO_VERSION and GOCACHE are used by the cache task, so the Go |
|
|
|
# installation must happen before that. |
|
|
|
# installation must happen before that. |
|
|
|
- uses: actions/setup-go@v2 |
|
|
|
- uses: actions/setup-go@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
@ -33,7 +33,7 @@ jobs: |
|
|
|
echo "GO_VERSION="\ |
|
|
|
echo "GO_VERSION="\ |
|
|
|
"$(go version | sed 's/^go version go\([0-9.]\+\) .*/\1/')" \ |
|
|
|
"$(go version | sed 's/^go version go\([0-9.]\+\) .*/\1/')" \ |
|
|
|
>> $GITHUB_ENV |
|
|
|
>> $GITHUB_ENV |
|
|
|
- name: Lookup go cache directory |
|
|
|
- name: Lookup Go cache directory |
|
|
|
id: go-cache |
|
|
|
id: go-cache |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
echo "::set-output name=dir::$(go env GOCACHE)" |
|
|
|
echo "::set-output name=dir::$(go env GOCACHE)" |
|
|
|