From e94942181d0acfa2588f4e21bad59a2d35f0cea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Tr=C3=B6ger?= Date: Thu, 21 Aug 2025 08:05:40 +0200 Subject: [PATCH] Update testing.yaml --- .gitea/workflows/testing.yaml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) 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