Merge pull request #3574 from deitch/fix-set-env

fix deprecation of set-env
This commit is contained in:
Justin Cormack 2020-11-24 16:27:08 +00:00 committed by GitHub
commit 7f479817ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,9 +27,13 @@ jobs:
with:
path: ./src/github.com/linuxkit/linuxkit
- name: Set path
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
env:
GOPATH: ${{runner.workspace}}
- name: Get pre-requisites
run: |
echo "::set-env name=PATH::$PATH:$(go env GOPATH)/bin"
go get -u golang.org/x/lint/golint
go get -u github.com/gordonklaus/ineffassign
env: