add micro-tests trigger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
0060c4377a
commit
f430f97a97
@ -17,14 +17,10 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: go work
|
|
||||||
run: go work init
|
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
filter: 'blob:none'
|
filter: 'blob:none'
|
||||||
- name: go work use
|
|
||||||
run: go work use .
|
|
||||||
- name: checkout tests
|
- name: checkout tests
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@ -32,13 +28,15 @@ jobs:
|
|||||||
filter: 'blob:none'
|
filter: 'blob:none'
|
||||||
repository: unistack-org/micro-tests
|
repository: unistack-org/micro-tests
|
||||||
path: micro-tests
|
path: micro-tests
|
||||||
- name: go work use
|
|
||||||
run: go work use micro-tests
|
|
||||||
- name: setup-go
|
- name: setup-go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
cache-dependency-path: "**/*.sum"
|
cache-dependency-path: "**/*.sum"
|
||||||
go-version: 'stable'
|
go-version: 'stable'
|
||||||
|
- name: go work
|
||||||
|
run: |
|
||||||
|
pushd && go work init && popd
|
||||||
|
ls | grep -v go | xargs go work use
|
||||||
- name: deps
|
- name: deps
|
||||||
run: go get -v ./...
|
run: go get -v ./...
|
||||||
- name: test
|
- name: test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user