add micro-tests trigger
All checks were successful
lint / lint (pull_request) Successful in 43s
test / test (pull_request) Successful in 41s

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2024-12-10 17:30:03 +03:00
parent 0060c4377a
commit f430f97a97

View File

@ -17,14 +17,10 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: go work
run: go work init
- name: checkout
uses: actions/checkout@v4
with:
filter: 'blob:none'
- name: go work use
run: go work use .
- name: checkout tests
uses: actions/checkout@v4
with:
@ -32,13 +28,15 @@ jobs:
filter: 'blob:none'
repository: unistack-org/micro-tests
path: micro-tests
- name: go work use
run: go work use micro-tests
- name: setup-go
uses: actions/setup-go@v5
with:
cache-dependency-path: "**/*.sum"
go-version: 'stable'
- name: go work
run: |
pushd && go work init && popd
ls | grep -v go | xargs go work use
- name: deps
run: go get -v ./...
- name: test