1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-24 08:02:18 +02:00

No need for GOPATH anymore, we use modules

This commit is contained in:
Laszlo Fogas 2019-10-24 10:26:24 +02:00
parent e1fa68566d
commit 5ef6b49b7c

View File

@ -16,30 +16,10 @@ jobs:
uses: actions/checkout@v1
with:
fetch-depth: 1
path: go/src/github.com/laszlocph/woodpecker
- name: Debug
run: |
pwd
echo ${HOME}
echo ${GITHUB_WORKSPACE}
echo ${GOPATH}
echo ${GOROOT}
env:
GOPATH: /home/runner/work/woodpecker/go
- name: Test
run: |
go get -u golang.org/x/tools/cmd/cover
go get -u golang.org/x/net/context
go get -u golang.org/x/net/context/ctxhttp
go get -u github.com/golang/protobuf/proto
go get -u github.com/golang/protobuf/protoc-gen-go
go test -cover $(go list ./... | grep -v /vendor/)
env:
GOPATH: /home/runner/work/woodpecker/go
- name: Build
run: ./.drone.sh
env:
GOPATH: /home/runner/work/woodpecker/go