-
Notifications
You must be signed in to change notification settings - Fork 6
48 lines (41 loc) · 1.55 KB
/
spring-boot-postgres.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: spring-boot-postgres
on:
push:
paths:
- 'spring-boot-postgres-java/**'
- 'spring-boot-postgres-kotlin/**'
- '.github/workflows/spring-boot-postgres.yml'
pull_request:
paths:
- 'spring-boot-postgres-java/**'
- 'spring-boot-postgres-kotlin/**'
- '.github/workflows/spring-boot-postgres.yml'
jobs:
postgres-java:
name: Build spring boot using postres with java version ${{ matrix.java }}
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 17,18 ]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Setup java ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- run: mvn -B -f spring-boot-postgres-java clean verify
postgres-kotlin:
name: Build spring boot using postres with java version ${{ matrix.java }}
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 17,18 ]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Setup java ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- run: mvn -B -f spring-boot-postgres-kotlin clean verify