From f430f97a97a9ec269ef7fa8319cbde7148de942e Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Tue, 10 Dec 2024 17:30:03 +0300 Subject: [PATCH] add micro-tests trigger Signed-off-by: Vasiliy Tolstov --- .gitea/workflows/job_tests.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/job_tests.yml b/.gitea/workflows/job_tests.yml index b5965217..9136f93d 100644 --- a/.gitea/workflows/job_tests.yml +++ b/.gitea/workflows/job_tests.yml @@ -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