dev/actions feature: overtime #27
@@ -12,6 +12,12 @@ jobs:
|
|||||||
POSTGRES_DB: arbeitszeitmessung
|
POSTGRES_DB: arbeitszeitmessung
|
||||||
POSTGRES_PORT: 5432
|
POSTGRES_PORT: 5432
|
||||||
steps:
|
steps:
|
||||||
|
- uses: harmon758/postgresql-action@v1
|
||||||
|
with:
|
||||||
|
postgresql version: "16"
|
||||||
|
postgresql user: ${{ env.POSTGRES_USER }}
|
||||||
|
postgresql password: ${{ env.POSTGRES_PASSWORD }}
|
||||||
|
postgresql db: ${{ env.POSTGRES_DB }}
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -36,12 +42,5 @@ jobs:
|
|||||||
/go_path
|
/go_path
|
||||||
/go_cache
|
/go_cache
|
||||||
key: go_path-${{ steps.hash-go.outputs.hash }}
|
key: go_path-${{ steps.hash-go.outputs.hash }}
|
||||||
- name: Setup DB
|
- name: Run Go Test
|
||||||
uses: harmon758/postgresql-action@v1
|
|
||||||
with:
|
|
||||||
postgresql version: "16"
|
|
||||||
postgresql user: ${{ env.POSTGRES_USER }}
|
|
||||||
postgresql password: ${{ env.POSTGRES_PASSWORD }}
|
|
||||||
postgresql db: ${{ env.POSTGRES_DB }}
|
|
||||||
- name: test
|
|
||||||
run: make test
|
run: make test
|
||||||
|
|||||||
Reference in New Issue
Block a user