From 9345dd075a98cc175c4ad9f300cc0f7f468362d4 Mon Sep 17 00:00:00 2001
From: Vasiliy Tolstov <v.tolstov@unistack.org>
Date: Tue, 10 Dec 2024 16:16:16 +0300
Subject: [PATCH] add micro-tests trigger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
---
 .gitea/workflows/job_tests.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/.gitea/workflows/job_tests.yml b/.gitea/workflows/job_tests.yml
index f3122202..177904a5 100644
--- a/.gitea/workflows/job_tests.yml
+++ b/.gitea/workflows/job_tests.yml
@@ -25,7 +25,6 @@ jobs:
       uses: actions/checkout@v4
       with:
         ref: master
-        fetch-depth: 1
         filter: 'blob:none'
         repository: unistack-org/micro-tests
         path: micro-tests
@@ -36,8 +35,13 @@ jobs:
     - name: deps
       run: go get -v -d ./...
     - name: workflow
-      run: go work init . ./micro-tests
+      run: |
+        cd ../
+        go work init
+        go work use *
     - name: test
       env:
         INTEGRATION_TESTS: yes
-      run: cd micro-tests && go test -mod readonly -v ./...
+      run: |
+        cd micro-tests
+        go test -mod readonly -v ./...