Skip to content

Commit ecc1bb9

Browse files
authored
[ACL-264] CI, dependencies, example project and changelog updates (#338)
1 parent 1058d1a commit ecc1bb9

35 files changed

+1357
-215
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Please select multiple options if required.
1616
# Checklist:
1717

1818
- [ ] I have updated the `gradle.properties` file with the new version
19+
- [ ] I have updated the `CHANGELOG.md` file with the details of the new versio
1920
- [ ] My code follows the style guidelines of this project
2021
- [ ] I have performed a self-review of my own code
2122
- [ ] I have commented my code where necessary

.github/workflows/build-test-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
matrix:
2525
os: [ ubuntu-latest ]
2626
java-distribution: [ temurin ]
27-
java-version: [ 11, 17, 20, 21 ]
27+
java-version: [ 11, 17, 20, 21, 22, 23 ]
2828
runs-on: ${{ matrix.os }}
2929
outputs:
3030
project_version: ${{ steps.get_project_version.outputs.project_version }}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Workflow that runs on the examples projects.
2+
# Triggered by pushes on the main branch (excluding tags).
3+
# Build, test, run coverage analysis and release to Maven Central a final release.
4+
name: Workflow on example projects
5+
6+
on:
7+
push:
8+
tags-ignore:
9+
- '**'
10+
11+
jobs:
12+
build-test:
13+
strategy:
14+
matrix:
15+
project-working-dir: ["quarkus-mvc"]
16+
name: Build and tests
17+
runs-on: ubuntu-latest
18+
defaults:
19+
run:
20+
working-directory: ./examples/${{ matrix.project-working-dir }}
21+
steps:
22+
- uses: actions/checkout@v4
23+
- name: Setup JDK
24+
uses: actions/setup-java@v4
25+
with:
26+
java-version: '21'
27+
distribution: 'temurin'
28+
cache: 'gradle'
29+
- name: Validate Gradle wrapper
30+
uses: gradle/actions/wrapper-validation@v3
31+
- name: Lint
32+
run: ./gradlew spotlessJavaCheck
33+
- name: Build
34+
run: ./gradlew build -x test
35+
- name: Run tests
36+
run: ./gradlew test

0 commit comments

Comments
 (0)