mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 01:10:31 +00:00
No need for GOPATH anymore, we use modules
This commit is contained in:
parent
e1fa68566d
commit
5ef6b49b7c
1 changed files with 0 additions and 20 deletions
20
.github/workflows/go.yml
vendored
20
.github/workflows/go.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue