Skip to content

Commit e51f6bb

Browse files
committed
Merge branch 'main' into fix-space-before-separator-jackson
2 parents fa766dd + ed0d468 commit e51f6bb

File tree

302 files changed

+17241
-2268
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

302 files changed

+17241
-2268
lines changed

renovate.json renamed to .github/renovate.json5

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4-
"config:base"
4+
"config:recommended",
55
],
66
"packageRules": [
77
{
88
"groupName": "Ktlint",
99
"enabled": false,
10-
"matchPackagePatterns": [
11-
"com.pinterest.ktlint:*"
10+
"matchPackageNames": [
11+
"/com.pinterest.ktlint:*/",
1212
]
1313
}
1414
]

.github/workflows/changelog-print.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,11 @@ jobs:
99
runs-on: ubuntu-latest
1010
name: changelogPrint
1111
steps:
12-
- uses: actions/checkout@v4
13-
- name: jdk 11
14-
uses: actions/setup-java@v4
12+
- uses: actions/checkout@v5
13+
- uses: actions/setup-java@v5
1514
with:
16-
java-version: 11
15+
java-version: 21
1716
distribution: 'temurin'
1817
- name: gradle caching
19-
uses: gradle/actions/setup-gradle@v3
20-
with:
21-
gradle-home-cache-cleanup: true
18+
uses: gradle/actions/setup-gradle@v4
2219
- run: ./gradlew changelogPrint

.github/workflows/ci.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
on:
66
pull_request:
77
push:
8-
branches: [main]
8+
branches: [main, release]
99
workflow_dispatch:
1010

1111
concurrency:
@@ -20,18 +20,15 @@ jobs:
2020
buildcachepass: ${{ secrets.BUILDCACHE_PASS }}
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v5
2424
with:
2525
fetch-depth: 0
26-
- name: Install JDK 11
27-
uses: actions/setup-java@v4
26+
- uses: actions/setup-java@v5
2827
with:
2928
distribution: "temurin"
30-
java-version: 11
29+
java-version: 21
3130
- name: gradle caching
32-
uses: gradle/actions/setup-gradle@v3
33-
with:
34-
gradle-home-cache-cleanup: true
31+
uses: gradle/actions/setup-gradle@v4
3532
- name: spotlessCheck
3633
run: ./gradlew spotlessCheck
3734
- name: assemble testClasses
@@ -43,37 +40,30 @@ jobs:
4340
matrix:
4441
kind: [maven, gradle]
4542
# Test on the latest Java version once Gradle & Maven support it.
46-
jre: [11, 17, 21, 22]
47-
os: [ubuntu-latest]
43+
jre: [17, 21, 24]
44+
os: [ubuntu-latest, windows-latest]
4845
include:
49-
# test windows at the diagonals of the above matrix
50-
- kind: maven
51-
jre: 11
52-
os: windows-latest
53-
- kind: gradle
54-
jre: 17
55-
os: windows-latest
5646
# npm on linux only (crazy slow on windows)
5747
- kind: npm
58-
jre: 11
48+
jre: 17
5949
os: ubuntu-latest
6050
- kind: shfmt
61-
jre: 11
51+
jre: 17
6252
os: ubuntu-latest
6353
shfmt-version: v3.8.0
54+
- kind: idea
55+
jre: 17
56+
os: ubuntu-latest
6457
runs-on: ${{ matrix.os }}
6558
steps:
6659
- name: Checkout
67-
uses: actions/checkout@v4
68-
- name: Install JDK ${{ matrix.distribution }} ${{ matrix.java_version }}
69-
uses: actions/setup-java@v4
60+
uses: actions/checkout@v5
61+
- uses: actions/setup-java@v5
7062
with:
7163
distribution: "temurin"
7264
java-version: ${{ matrix.jre }}
7365
- name: gradle caching
74-
uses: gradle/actions/setup-gradle@v3
75-
with:
76-
gradle-home-cache-cleanup: true
66+
uses: gradle/actions/setup-gradle@v4
7767
- name: build (maven-only)
7868
if: matrix.kind == 'maven'
7969
run: ./gradlew :plugin-maven:build -x spotlessCheck
@@ -85,7 +75,7 @@ jobs:
8575
run: ./gradlew testNpm
8676
- name: Setup go
8777
if: matrix.kind == 'shfmt'
88-
uses: actions/setup-go@v5
78+
uses: actions/setup-go@v6
8979
with:
9080
go-version: 'stable'
9181
- name: Install shfmt
@@ -95,8 +85,18 @@ jobs:
9585
- name: Test shfmt
9686
if: matrix.kind == 'shfmt'
9787
run: ./gradlew testShfmt
88+
- name: Test idea
89+
if: matrix.kind == 'idea'
90+
run: |
91+
download_link=$(curl https://data.services.jetbrains.com/products/releases\?code\=IIC\&latest\=true\&type\=release | jq -r '.IIC[0].downloads.linux.link')
92+
curl --location "$download_link" -o idea.tar.gz
93+
tar -xf idea.tar.gz
94+
cd idea-IC*
95+
export PATH=${PATH}:$(pwd)/bin
96+
cd ..
97+
./gradlew testIdea
9898
- name: junit result
99-
uses: mikepenz/action-junit-report@v4
99+
uses: mikepenz/action-junit-report@v5
100100
if: always() # always run even if the previous step fails
101101
with:
102102
check_name: JUnit ${{ matrix.kind }} ${{ matrix.jre }} ${{ matrix.os }}

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
steps:
3939
- name: Checkout repository
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@v5
4141
with:
4242
# We must fetch at least the immediate parents so that if this is
4343
# a pull request then we can checkout the head.

.github/workflows/deploy.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# GH_TOKEN
21
# NEXUS_USER
32
# NEXUS_PASS64 (base64 NOTE: `base64` and `openssl base64` failed, had to use Java
43
# byte[] data = "{{password}}".getBytes(StandardCharsets.UTF_8);
@@ -29,23 +28,22 @@ jobs:
2928
build:
3029
runs-on: ubuntu-latest
3130
name: deploy
31+
permissions:
32+
contents: write
3233
env:
33-
gh_token: ${{ secrets.GH_TOKEN }}
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3435
ORG_GRADLE_PROJECT_nexus_user: ${{ secrets.NEXUS_USER }}
3536
ORG_GRADLE_PROJECT_nexus_pass64: ${{ secrets.NEXUS_PASS64 }}
3637
ORG_GRADLE_PROJECT_gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
3738
ORG_GRADLE_PROJECT_gpg_key64: ${{ secrets.GPG_KEY64 }}
3839
steps:
39-
- uses: actions/checkout@v4
40-
- name: jdk 11
41-
uses: actions/setup-java@v4
40+
- uses: actions/checkout@v5
41+
- uses: actions/setup-java@v5
4242
with:
43-
java-version: 11
43+
java-version: 21
4444
distribution: 'temurin'
4545
- name: gradle caching
46-
uses: gradle/actions/setup-gradle@v3
47-
with:
48-
gradle-home-cache-cleanup: true
46+
uses: gradle/actions/setup-gradle@v4
4947
- name: git fetch origin main
5048
run: git fetch origin main
5149
- name: publish all

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Project-specific stuff
88
userHome/
99
workspace/
10+
testenv.properties
1011

1112
### Gradle ###
1213
.gradle
@@ -67,6 +68,7 @@ local.properties
6768

6869
## Directory-based project format:
6970
.idea/
71+
!.idea/icon.png
7072
# if you remove the above rule, at least ignore the following:
7173

7274
# User-specific stuff:

.idea/icon.png

1.6 KB
Loading

.idea/vcs.xml

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)