mirror of
https://github.com/safing/portbase
synced 2025-04-25 19:49:09 +00:00
Another try on install paths
This commit is contained in:
parent
eb61aa7385
commit
98469e59af
1 changed files with 6 additions and 6 deletions
12
.github/workflows/go.yml
vendored
12
.github/workflows/go.yml
vendored
|
@ -36,7 +36,7 @@ jobs:
|
|||
DEBIAN_FRONTEND: noninteractive
|
||||
|
||||
- name: Install golint
|
||||
run: GOBIN=/github/workspace go get -u golang.org/x/lint/golint
|
||||
run: GOBIN=. go get -u golang.org/x/lint/golint
|
||||
# As with the above comment, [env] and working-directory are only required to get deprecated dep
|
||||
# and GOPATH working ...
|
||||
working-directory: /github/workspace/go/src/github.com/safing/portbase
|
||||
|
@ -50,7 +50,7 @@ jobs:
|
|||
working-directory: /github/workspace/go/src/github.com/safing/portbase
|
||||
|
||||
- name: Run golint
|
||||
run: bash -c "/github/workspace/golint -set_exit_status -min_confidence 1.0 ./..."
|
||||
run: bash -c "./golint -set_exit_status -min_confidence 1.0 ./..."
|
||||
# As with the above comment, [env] and working-directory are only required to get deprecated dep
|
||||
# and GOPATH working ...
|
||||
working-directory: /github/workspace/go/src/github.com/safing/portbase
|
||||
|
@ -66,10 +66,10 @@ jobs:
|
|||
GOPATH: /github/workspace/go/
|
||||
|
||||
- name: Install go-dep
|
||||
run: bash -c "curl https://raw.githubusercontent.com/golang/dep/master/install.sh | INSTALL_DIRECTORY=/github/workspace sh && chmod +x ./dep"
|
||||
run: bash -c "curl https://raw.githubusercontent.com/golang/dep/master/install.sh | INSTALL_DIRECTORY=$(pwd) sh && chmod +x ./dep"
|
||||
|
||||
- name: Get dependencies
|
||||
run: /github/workspace/dep ensure
|
||||
run: ./dep ensure
|
||||
# As with the above comment, [env] and working-directory are only required to get deprecated dep
|
||||
# and GOPATH working ...
|
||||
working-directory: /github/workspace/go/src/github.com/safing/portbase
|
||||
|
@ -128,10 +128,10 @@ jobs:
|
|||
go-version: '^1.15.3'
|
||||
|
||||
- name: Install go-dep
|
||||
run: bash -c "curl https://raw.githubusercontent.com/golang/dep/master/install.sh | INSTALL_DIRECTORY=/github/workspace/ sh && chmod +x ./dep"
|
||||
run: bash -c "curl https://raw.githubusercontent.com/golang/dep/master/install.sh | INSTALL_DIRECTORY=$(pwd) sh && chmod +x ./dep"
|
||||
|
||||
- name: Get dependencies
|
||||
run: /github/workspace/dep ensure
|
||||
run: ./dep ensure
|
||||
working-directory: /github/workspace/go/src/github.com/safing/portbase
|
||||
env:
|
||||
GOPATH: /github/workspace/go/
|
||||
|
|
Loading…
Add table
Reference in a new issue