Skip to content

Commit 4cb92d2

Browse files
authored
Bump FAIRDataTeam/github-workflows from v2 to v3 (#804)
* bump github-workflows to v3 * add explicit postgresql version 17 in maven-verify * set required db properties in docker-publish (in this case we can skip db setup because tests are skipped (too slow))
1 parent 97a23a0 commit 4cb92d2

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ concurrency:
1919

2020
jobs:
2121
verify:
22-
uses: FAIRDataTeam/github-workflows/.github/workflows/maven-verify.yml@v2
22+
uses: FAIRDataTeam/github-workflows/.github/workflows/maven-verify.yml@v3
2323
with:
24-
# todo: enable tests when test duration has been minimized
24+
# todo: enable tests (and specify db properties) when test duration has been minimized
2525
mvn-options: "-DskipTests"
26+
db-type: "none"
27+
db-version: 0
2628
publish:
2729
needs: verify
28-
uses: FAIRDataTeam/github-workflows/.github/workflows/docker-publish.yml@v2
30+
uses: FAIRDataTeam/github-workflows/.github/workflows/docker-publish.yml@v3
2931
secrets: inherit
3032
with:
3133
file: './Dockerfile'

.github/workflows/maven-verify.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- macos-14
2929
java-version:
3030
- 21
31-
uses: FAIRDataTeam/github-workflows/.github/workflows/maven-verify.yml@v2
31+
uses: FAIRDataTeam/github-workflows/.github/workflows/maven-verify.yml@v3
3232
with:
3333
runner: ${{ matrix.runner }}
3434
java-version: ${{ matrix.java-version }}
@@ -40,3 +40,4 @@ jobs:
4040
db-username: fdp
4141
db-password: fdp
4242
db-port: 54321
43+
db-version: 17

0 commit comments

Comments
 (0)