-
Notifications
You must be signed in to change notification settings - Fork 1
ci!: test on Java 17, 21, 25 #192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 14 commits
ad78dc8
f21d4f2
303d159
1e90687
c02f5a0
a557beb
2a440fd
7d42825
1b6e999
d3321e5
c119e4f
ccd2b16
4b1424b
947197e
fe06df2
b2a1b11
265667c
cf1129c
16694e5
021a168
8126174
92573d9
f529ff2
928fea4
d7e5cc2
f4609ca
65f4c08
8f13bb4
6f663fe
c9e0530
606bced
7429ba7
cbf3b3f
867210c
17e5dae
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| name: Dependency Graph | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
|
|
||
| permissions: | ||
| contents: write | ||
|
|
||
| jobs: | ||
| submit: | ||
| name: Submit Dependency Graph | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | ||
|
|
||
| - name: Set Up Java | ||
| uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5 | ||
| with: | ||
| java-version-file: '.sdkmanrc' | ||
| distribution: temurin | ||
|
|
||
| - name: Generate and Submit Dependency Graph | ||
| uses: gradle/actions/dependency-submission@0723195856401067f7a2779048b490ace7a47d7c # v5 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| name: Pull Request Title | ||
|
|
||
| on: | ||
| pull_request_target: | ||
| types: | ||
| - opened | ||
| - edited | ||
| - synchronize | ||
| - reopened | ||
|
|
||
| jobs: | ||
| check: | ||
| name: Check Title Format | ||
| runs-on: ubuntu-latest | ||
|
|
||
| permissions: | ||
| pull-requests: read | ||
|
jGleitz marked this conversation as resolved.
|
||
|
|
||
| steps: | ||
| - name: Check Pull Request Title | ||
| uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
jGleitz marked this conversation as resolved.
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| # See https://github.com/dorny/test-reporter?tab=readme-ov-file#recommended-setup-for-public-repositories | ||
| # for more info on this workflow | ||
|
|
||
| name: Test Report | ||
|
|
||
| on: | ||
| workflow_run: | ||
| workflows: [CI] | ||
| types: | ||
| - completed | ||
|
|
||
| permissions: | ||
| contents: read | ||
| actions: read | ||
| checks: write | ||
|
|
||
| jobs: | ||
| add_report: | ||
| name: Annotate Test Results on Pull Request | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: dorny/test-reporter@b082adf0eced0765477756c2a610396589b8c637 # v2 | ||
| with: | ||
| artifact: /test-results-.*/ | ||
| name: Test Results | ||
| path: "**/*.xml" | ||
| reporter: java-junit | ||
| max-annotations: "50" | ||
| fail-on-error: "false" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| java=25.0.2-tem |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| import org.gradle.api.JavaVersion.VERSION_1_8 | ||
| import org.gradle.api.JavaVersion.VERSION_17 | ||
| import org.jetbrains.kotlin.config.KotlinCompilerVersion | ||
| import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
|
|
||
|
|
@@ -23,8 +23,8 @@ dependencies { | |
| } | ||
|
|
||
| java { | ||
| sourceCompatibility = VERSION_1_8 | ||
| targetCompatibility = VERSION_1_8 | ||
| sourceCompatibility = VERSION_17 | ||
| targetCompatibility = VERSION_17 | ||
| } | ||
|
Comment on lines
23
to
26
|
||
|
|
||
| kotlin { | ||
|
|
@@ -33,7 +33,7 @@ kotlin { | |
|
|
||
| tasks.withType<KotlinCompile> { | ||
| kotlinOptions { | ||
| jvmTarget = "1.8" | ||
| jvmTarget = "17" | ||
| freeCompilerArgs += "-Xopt-in=kotlin.io.path.ExperimentalPathApi" | ||
| } | ||
| } | ||
|
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| { | ||
| /* Simulate this configuration locally by running: | ||
| podman run --rm \ | ||
| --mount type=bind,src="$(pwd)",dst=/repo \ | ||
| --workdir /repo \ | ||
| --user 0 \ | ||
| --env RENOVATE_GITHUB_COM_TOKEN=$(secret-tool lookup service renovate-dry-run) \ | ||
| --env LOG_LEVEL=debug \ | ||
| renovate/renovate --dry-run=full --platform=local | ||
| */ | ||
| $schema: "https://docs.renovatebot.com/renovate-schema.json", | ||
| extends: ["github>jGleitz/renovate-config:default.json5"], | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.