Skip to content

Commit ac7fc89

Browse files
authored
Merge branch 'main' into release-please--branches--main
2 parents c05e921 + 365c236 commit ac7fc89

File tree

12 files changed

+96
-120
lines changed

12 files changed

+96
-120
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
# Enable version updates for Gradle dependencies
4+
- package-ecosystem: "gradle"
5+
# Look for build.gradle files in the root directory
6+
directory: "/"
7+
schedule:
8+
interval: "daily"
9+
# Enable version updates for GitHub Actions
10+
- package-ecosystem: "github-actions"
11+
directory: "/"
12+
schedule:
13+
interval: "weekly"

.github/workflows/checkstyle.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,8 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v4
19-
- name: Extract Java version from .tool-versions
20-
id: java-version
21-
run: |
22-
TOOL_VERSION=$(grep '^java' .tool-versions | awk '{print $2}')
23-
JAVA_DIST=$(echo $TOOL_VERSION | cut -d'-' -f1)
24-
JAVA_VERSION=$(echo $TOOL_VERSION | cut -d'-' -f2)
25-
echo "distribution=$JAVA_DIST" >> $GITHUB_OUTPUT
26-
echo "version=$JAVA_VERSION" >> $GITHUB_OUTPUT
27-
- name: Set up JDK from .tool-versions
28-
uses: actions/setup-java@v4
29-
with:
30-
java-version: ${{ steps.java-version.outputs.version }}
31-
distribution: ${{ steps.java-version.outputs.distribution }}
19+
- name: Setup asdf and install tools
20+
uses: asdf-vm/actions/install@v3
3221
- name: Setup Gradle
3322
uses: gradle/actions/setup-gradle@v3
3423
- name: Build with Gradle

.github/workflows/coverage.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,8 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v4
16-
- name: Extract Java version from .tool-versions
17-
id: java-version
18-
run: |
19-
TOOL_VERSION=$(grep '^java' .tool-versions | awk '{print $2}')
20-
JAVA_DIST=$(echo $TOOL_VERSION | cut -d'-' -f1)
21-
JAVA_VERSION=$(echo $TOOL_VERSION | cut -d'-' -f2)
22-
echo "distribution=$JAVA_DIST" >> $GITHUB_OUTPUT
23-
echo "version=$JAVA_VERSION" >> $GITHUB_OUTPUT
24-
- name: Set up JDK from .tool-versions
25-
uses: actions/setup-java@v4
26-
with:
27-
java-version: ${{ steps.java-version.outputs.version }}
28-
distribution: ${{ steps.java-version.outputs.distribution }}
16+
- name: Setup asdf and install tools
17+
uses: asdf-vm/actions/install@v3
2918
- name: Setup Gradle
3019
uses: gradle/actions/setup-gradle@v3
3120
- name: Build with Gradle

.github/workflows/cpd.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,8 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v4
18-
- name: Extract Java version from .tool-versions
19-
id: java-version
20-
run: |
21-
TOOL_VERSION=$(grep '^java' .tool-versions | awk '{print $2}')
22-
JAVA_DIST=$(echo $TOOL_VERSION | cut -d'-' -f1)
23-
JAVA_VERSION=$(echo $TOOL_VERSION | cut -d'-' -f2)
24-
echo "distribution=$JAVA_DIST" >> $GITHUB_OUTPUT
25-
echo "version=$JAVA_VERSION" >> $GITHUB_OUTPUT
26-
- name: Set up JDK from .tool-versions
27-
uses: actions/setup-java@v4
28-
with:
29-
java-version: ${{ steps.java-version.outputs.version }}
30-
distribution: ${{ steps.java-version.outputs.distribution }}
18+
- name: Setup asdf and install tools
19+
uses: asdf-vm/actions/install@v3
3120
- name: Setup Gradle
3221
uses: gradle/actions/setup-gradle@v3
3322
- name: Run checkstyle on Source and Test

.github/workflows/dependabot.yml

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

.github/workflows/gradle.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16-
- name: Extract Java version from .tool-versions
17-
id: java-version
18-
run: |
19-
TOOL_VERSION=$(grep '^java' .tool-versions | awk '{print $2}')
20-
JAVA_DIST=$(echo $TOOL_VERSION | cut -d'-' -f1)
21-
JAVA_VERSION=$(echo $TOOL_VERSION | cut -d'-' -f2)
22-
echo "distribution=$JAVA_DIST" >> $GITHUB_OUTPUT
23-
echo "version=$JAVA_VERSION" >> $GITHUB_OUTPUT
24-
- name: Set up JDK from .tool-versions
25-
uses: actions/setup-java@v4
26-
with:
27-
java-version: ${{ steps.java-version.outputs.version }}
28-
distribution: ${{ steps.java-version.outputs.distribution }}
16+
- name: Setup asdf and install tools
17+
uses: asdf-vm/actions/install@v3
2918
- name: Setup Gradle
3019
uses: gradle/actions/setup-gradle@v3
3120
- name: Build Binary Executable

.github/workflows/mutation.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,8 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v4
18-
- name: Extract Java version from .tool-versions
19-
id: java-version
20-
run: |
21-
TOOL_VERSION=$(grep '^java' .tool-versions | awk '{print $2}')
22-
JAVA_DIST=$(echo $TOOL_VERSION | cut -d'-' -f1)
23-
JAVA_VERSION=$(echo $TOOL_VERSION | cut -d'-' -f2)
24-
echo "distribution=$JAVA_DIST" >> $GITHUB_OUTPUT
25-
echo "version=$JAVA_VERSION" >> $GITHUB_OUTPUT
26-
- name: Set up JDK from .tool-versions
27-
uses: actions/setup-java@v4
28-
with:
29-
java-version: ${{ steps.java-version.outputs.version }}
30-
distribution: ${{ steps.java-version.outputs.distribution }}
18+
- name: Setup asdf and install tools
19+
uses: asdf-vm/actions/install@v3
3120
- name: Setup Gradle
3221
uses: gradle/actions/setup-gradle@v3
3322
- name: Run Mutation Analysis

.github/workflows/pmd.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16-
- name: Extract Java version from .tool-versions
17-
id: java-version
18-
run: |
19-
TOOL_VERSION=$(grep '^java' .tool-versions | awk '{print $2}')
20-
JAVA_DIST=$(echo $TOOL_VERSION | cut -d'-' -f1)
21-
JAVA_VERSION=$(echo $TOOL_VERSION | cut -d'-' -f2)
22-
echo "distribution=$JAVA_DIST" >> $GITHUB_OUTPUT
23-
echo "version=$JAVA_VERSION" >> $GITHUB_OUTPUT
24-
- name: Set up JDK from .tool-versions
25-
uses: actions/setup-java@v4
26-
with:
27-
java-version: ${{ steps.java-version.outputs.version }}
28-
distribution: ${{ steps.java-version.outputs.distribution }}
16+
- name: Setup asdf and install tools
17+
uses: asdf-vm/actions/install@v3
2918
- name: Setup Gradle
3019
uses: gradle/actions/setup-gradle@v3
3120
- name: Run PMD on sources

.github/workflows/release-please.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,9 @@ jobs:
2929
if: ${{ steps.release.outputs.release_created }}
3030
uses: actions/checkout@v4
3131

32-
- name: Extract Java version from .tool-versions
32+
- name: Setup asdf and install tools
3333
if: ${{ steps.release.outputs.release_created }}
34-
id: java-version
35-
run: |
36-
TOOL_VERSION=$(grep '^java' .tool-versions | awk '{print $2}')
37-
JAVA_DIST=$(echo $TOOL_VERSION | cut -d'-' -f1)
38-
JAVA_VERSION=$(echo $TOOL_VERSION | cut -d'-' -f2)
39-
echo "distribution=$JAVA_DIST" >> $GITHUB_OUTPUT
40-
echo "version=$JAVA_VERSION" >> $GITHUB_OUTPUT
41-
- name: Set up JDK from .tool-versions
42-
if: ${{ steps.release.outputs.release_created }}
43-
uses: actions/setup-java@v4
44-
with:
45-
java-version: ${{ steps.java-version.outputs.version }}
46-
distribution: ${{ steps.java-version.outputs.distribution }}
34+
uses: asdf-vm/actions/install@v3
4735

4836
- name: Setup Gradle
4937
if: ${{ steps.release.outputs.release_created }}

.github/workflows/spotbugs.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16-
- name: Extract Java version from .tool-versions
17-
id: java-version
18-
run: |
19-
TOOL_VERSION=$(grep '^java' .tool-versions | awk '{print $2}')
20-
JAVA_DIST=$(echo $TOOL_VERSION | cut -d'-' -f1)
21-
JAVA_VERSION=$(echo $TOOL_VERSION | cut -d'-' -f2)
22-
echo "distribution=$JAVA_DIST" >> $GITHUB_OUTPUT
23-
echo "version=$JAVA_VERSION" >> $GITHUB_OUTPUT
24-
- name: Set up JDK from .tool-versions
25-
uses: actions/setup-java@v4
26-
with:
27-
java-version: ${{ steps.java-version.outputs.version }}
28-
distribution: ${{ steps.java-version.outputs.distribution }}
16+
- name: Setup asdf and install tools
17+
uses: asdf-vm/actions/install@v3
2918
- name: Setup Gradle
3019
uses: gradle/actions/setup-gradle@v3
3120
- name: Run Spotbugs on sources

0 commit comments

Comments
 (0)