-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 909 Bytes
/
Copy pathci.yml
File metadata and controls
38 lines (30 loc) · 909 Bytes
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
name: CI
# Runs on every push to any branch and on all pull requests.
# Builds and verifies the starter only; the sample application requires
# external Embabel snapshot artifacts and an OpenAI API key, so it is
# excluded from automated CI.
on:
pull_request:
push:
branches: ['**']
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
build:
name: Build & Test (Java 21)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
cache: maven
- name: Install parent POM
run: mvn -N install -q
- name: Build and verify starter
run: mvn -B verify -pl embabel-workflow-visualizer-starter