Update testing.yaml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
GoLang Tests / test (push) Failing after 18s
arbeitszeitmessung/pipeline/head There was a failure building this commit

This commit is contained in:
2025-08-21 08:05:40 +02:00
parent c813ba62d4
commit e94942181d

View File

@@ -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