dev/actions feature: overtime #27

Merged
tom_trgr merged 53 commits from dev/actions into main 2025-09-04 00:58:25 +02:00
Showing only changes of commit c1b937152b - Show all commits

View File

@@ -19,6 +19,7 @@ jobs:
POSTGRES_PASSWORD: password POSTGRES_PASSWORD: password
POSTGRES_DB: arbeitszeitmessung POSTGRES_DB: arbeitszeitmessung
POSTGRES_PORT: 5432 POSTGRES_PORT: 5432
RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -27,7 +28,6 @@ jobs:
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version-file: Backend/go.mod go-version-file: Backend/go.mod
check-latest: true
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1 - uses: https://gitea.com/actions/go-hashfiles@v0.0.1
id: hash-go id: hash-go
with: with:
@@ -38,7 +38,7 @@ jobs:
id: cache-go id: cache-go
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: | path: |-
/go_path /go_path
/go_cache /go_cache
key: arbeitszeitmessung-${{ steps.hash-go.outputs.hash }} key: arbeitszeitmessung-${{ steps.hash-go.outputs.hash }}
@@ -47,7 +47,7 @@ jobs:
- name: Run Go Tests - name: Run Go Tests
run: cd Backend && go test ./... run: cd Backend && go test ./...
build: build:
# needs: testing needs: testing
name: Build Go Image and Upload name: Build Go Image and Upload
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: