diff --git a/.gitea/workflows/job_lint.yml b/.gitea/workflows/job_lint.yml index acfc4ed7..493312a9 100644 --- a/.gitea/workflows/job_lint.yml +++ b/.gitea/workflows/job_lint.yml @@ -19,9 +19,10 @@ jobs: - name: setup-go uses: actions/setup-go@v5 with: + cache-dependency-path: "**/*.sum" go-version: 'stable' - name: deps - run: go get -v -d ./... + run: go get -v ./... - name: lint uses: https://github.com/golangci/golangci-lint-action@v6 with: diff --git a/.gitea/workflows/job_test.yml b/.gitea/workflows/job_test.yml index 0840a4fe..a94dbcd6 100644 --- a/.gitea/workflows/job_test.yml +++ b/.gitea/workflows/job_test.yml @@ -24,9 +24,10 @@ jobs: - name: setup-go uses: actions/setup-go@v5 with: + cache-dependency-path: "**/*.sum" go-version: 'stable' - name: deps - run: go get -v -d ./... + run: go get -v ./... - name: test env: INTEGRATION_TESTS: yes diff --git a/.gitea/workflows/job_tests.yml b/.gitea/workflows/job_tests.yml index 177904a5..6a382622 100644 --- a/.gitea/workflows/job_tests.yml +++ b/.gitea/workflows/job_tests.yml @@ -31,14 +31,15 @@ jobs: - name: setup-go uses: actions/setup-go@v5 with: + cache-dependency-path: "**/*.sum" go-version: 'stable' - name: deps - run: go get -v -d ./... + run: go get -v ./... - name: workflow run: | cd ../ go work init - go work use * + go work use $(ls | grep -v go) - name: test env: INTEGRATION_TESTS: yes