|
4 | 4 | push: |
5 | 5 | branches: [ main ] |
6 | 6 | paths-ignore: |
7 | | - - '.github/dependabot.yml' |
8 | | - - '*.md' |
| 7 | + - '**/*.md' |
| 8 | + - '.github/**/*.yml' |
| 9 | + - '.gitignore' |
9 | 10 | pull_request: |
10 | 11 | branches: [ main ] |
11 | 12 | paths-ignore: |
12 | | - - '.github/dependabot.yml' |
13 | | - - '*.md' |
| 13 | + - '**/*.md' |
| 14 | + - '.github/**/*.yml' |
| 15 | + - '.gitignore' |
14 | 16 |
|
15 | 17 | jobs: |
16 | | - build-test: |
| 18 | + build-test-java17: |
| 19 | + runs-on: ubuntu-latest |
| 20 | + strategy: |
| 21 | + fail-fast: false |
| 22 | + matrix: |
| 23 | + java: |
| 24 | + - '17' |
| 25 | + project: |
| 26 | + - 'quarkus-aws-requeststreamhandler' |
| 27 | + - 'quarkus-azure-functions-http' |
| 28 | + - 'quarkus-funqy-azure' |
| 29 | + name: "build-test-${{ matrix.project }}-${{ matrix.java }}" |
| 30 | + steps: |
| 31 | + - uses: actions/checkout@v4 |
| 32 | + |
| 33 | + - name: Set up Java |
| 34 | + uses: actions/setup-java@v4 |
| 35 | + with: |
| 36 | + java-version: ${{ matrix.java }} |
| 37 | + distribution: temurin |
| 38 | + cache: maven |
| 39 | + |
| 40 | + - name: Build |
| 41 | + working-directory: ${{ matrix.project }} |
| 42 | + run: ./mvnw -B clean verify -Dquarkus.http.test-port=8081 -Dmaven.compiler.release=${{ matrix.java }} |
| 43 | + |
| 44 | + build-test-java21: |
17 | 45 | runs-on: ubuntu-latest |
18 | 46 | strategy: |
19 | 47 | fail-fast: false |
20 | 48 | matrix: |
21 | 49 | java: |
22 | 50 | - '21' |
23 | 51 | project: |
24 | | - - 'chapter2/quarkus-rest-services' |
25 | | - - 'chapter3/quarkus-aws-lambda-http' |
26 | | - - 'chapter3/quarkus-aws-requeststreamhandler' |
27 | | - - 'chapter3/quarkus-azure-functions-http' |
28 | | - - 'chapter3/quarkus-google-cloud-functions-cloud-events' |
29 | | - - 'chapter3/quarkus-google-cloud-functions-http' |
30 | | - - 'chapter4/knative-quarkus-function-ce' |
31 | | - - 'chapter4/knative-quarkus-function-http' |
32 | | - - 'chapter4/knative-springboot' |
33 | | - - 'chapter4/quarkus-funqy-aws' |
34 | | - - 'chapter4/quarkus-funqy-azure' |
35 | | - - 'chapter4/quarkus-funqy-gcp-cloud-events' |
36 | | - - 'chapter4/quarkus-funqy-gcp-http' |
37 | | - - 'chapter4/quarkus-funqy-standalone' |
38 | | - name: "java${{ matrix.java }}-${{ matrix.project }}" |
| 52 | + - 'quarkus-rest-services' |
| 53 | + - 'quarkus-aws-lambda-http' |
| 54 | + - 'quarkus-google-cloud-functions-cloud-events' |
| 55 | + - 'quarkus-google-cloud-functions-http' |
| 56 | + - 'knative-quarkus-function-ce' |
| 57 | + - 'knative-quarkus-function-http' |
| 58 | + - 'quarkus-funqy-aws' |
| 59 | + - 'quarkus-funqy-gcp-cloud-events' |
| 60 | + - 'quarkus-funqy-gcp-http' |
| 61 | + - 'quarkus-funqy-standalone' |
| 62 | + name: "build-test-${{ matrix.project }}-${{ matrix.java }}" |
39 | 63 | steps: |
40 | 64 | - uses: actions/checkout@v4 |
41 | 65 |
|
|
0 commit comments