mirror of
https://github.com/pushbits/server.git
synced 2025-05-01 19:26:41 +02:00
Setup path directly in the job where needed
This commit is contained in:
parent
c2eb726bbf
commit
360abf993d
1 changed files with 3 additions and 6 deletions
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
@ -6,15 +6,12 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Go environment
|
||||
run: |
|
||||
export PATH="$(go env GOPATH)/bin:${PATH}"
|
||||
echo ${GOPATH}
|
||||
echo ${PATH}
|
||||
- name: Install dependencies
|
||||
run: make setup
|
||||
- name: Run tests
|
||||
run: make test
|
||||
run: |
|
||||
export PATH="$PATH:$(go env GOPATH)/bin" # Currently the path needs to be set manually.
|
||||
make test
|
||||
- name: Build image
|
||||
run: make build_image
|
||||
- name: Login to Docker Hub
|
||||
|
|
Loading…
Add table
Reference in a new issue