diff --git a/.gitea/workflows/testing.yaml b/.gitea/workflows/testing.yaml index 4db6fa5..386f633 100644 --- a/.gitea/workflows/testing.yaml +++ b/.gitea/workflows/testing.yaml @@ -8,21 +8,15 @@ jobs: container: image: golang:1.22 steps: - - name: Checkout code - uses: actions/checkout@v4 + - name: Checkout repository + uses: https://gitea.com/actions/checkout@v4 - - name: Set up Go cache - uses: actions/cache@v3 - with: - path: | - ~/go/pkg/mod - ~/.cache/go-build - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- + - name: Go dependencies + shell: sh + run: | + go mod tidy - name: Run tests shell: sh run: | - go mod tidy go test ./... -v