[bugfix/ci] set global workinig-dir for run
This commit is contained in:
parent
05ddc1f783
commit
1d712d4e6c
1 changed files with 3 additions and 2 deletions
|
@ -8,6 +8,9 @@ on:
|
|||
jobs:
|
||||
test:
|
||||
runs-on: [docker, amd64]
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./backend
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -26,8 +29,6 @@ jobs:
|
|||
|
||||
- name: Generate mocks
|
||||
run: go generate ./...
|
||||
working-directory: backend
|
||||
|
||||
- name: Run tests
|
||||
run: go test -v ./...
|
||||
working-directory: backend
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue