diff --git a/.gitea/workflows/job_tests.yml b/.gitea/workflows/job_tests.yml index 9136f93d..7ce81a50 100644 --- a/.gitea/workflows/job_tests.yml +++ b/.gitea/workflows/job_tests.yml @@ -34,8 +34,10 @@ jobs: cache-dependency-path: "**/*.sum" go-version: 'stable' - name: go work + env: + GOWORK=${{ github.workspace }}/go.work run: | - pushd && go work init && popd + go work init ls | grep -v go | xargs go work use - name: deps run: go get -v ./...