-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 1.14 KB
/
generate-jooq.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
name: Generate jooq
on:
push:
pull_request:
branches: [main]
jobs:
generate-jooq:
name: Verifies whether generated jooq classes have been updated
# These must run on ubuntu 20.04 or older.
# The MS SQL server used by jore4-jore3-importer,
# does not run on Linux kernels newer than 6.6.x.
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Start e2e env
uses: HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@setup-e2e-environment-v7
with:
custom_docker_compose: ./docker/docker-compose.custom.yml
start_jore3_importer: "true"
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: "17"
java-package: jdk
architecture: x64
distribution: temurin
cache: maven
- name: Run jooq class generation
run: ./development.sh generate:jooq --no-volume
- name: Git status and diff
run: git status; git diff
- name: Verify that generate generated classes are up to date
run: '[ -z "$(git status --porcelain)" ]'