Skip to content

Commit c3aa3a4

Browse files
authored
Merge pull request #638 from hazendaz/spotbugs
Update GHA
2 parents 9d2d4c0 + 40256e2 commit c3aa3a4

10 files changed

+18
-18
lines changed

.github/workflows/ci.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu-latest, macOS-latest, windows-latest]
11-
java: [11, 17, 20, 21-ea]
11+
java: [11, 17, 21]
1212
fail-fast: false
1313
max-parallel: 4
1414
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
1515

1616
steps:
17-
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
17+
- uses: actions/checkout@v4
1818
- name: Set up JDK
1919
uses: actions/setup-java@v3
2020
with:

.github/workflows/codeql-analysis.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
steps:
4141
- name: Checkout repository
42-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
42+
uses: actions/checkout@v4
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL

.github/workflows/coveralls.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
if: github.repository_owner == 'spotbugs-OFF'
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
10+
- uses: actions/checkout@v4
1111
- name: Set up JDK
1212
uses: actions/setup-java@v3
1313
with:

.github/workflows/coverity.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
if: github.repository_owner == 'spotbugs'
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
13+
- uses: actions/checkout@v4
1414
- name: Set up JDK
1515
uses: actions/setup-java@v3
1616
with:
17-
java-version: 17
17+
java-version: 21
1818
distribution: 'zulu'
1919
- name: Analyze with Coverity
2020
run: |

.github/workflows/it-maven-3.3.9.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
name: Integration Tests Maven 3.3.9
99

1010
steps:
11-
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
11+
- uses: actions/checkout@v4
1212
- name: Set up JDK
1313
uses: actions/setup-java@v3
1414
with:
15-
java-version: 17
15+
java-version: 21
1616
distribution: zulu
1717
- name: Load Maven 3.3.9
1818
run: ./mvnw -B -V org.apache.maven.plugins:maven-wrapper-plugin:3.2.0:wrapper -Dmaven=3.3.9 --no-transfer-progress

.github/workflows/it-maven-4.0.0.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
name: Integration Tests Maven 4.0.0-alpha-4
99

1010
steps:
11-
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
11+
- uses: actions/checkout@v4
1212
- name: Set up JDK
1313
uses: actions/setup-java@v3
1414
with:
15-
java-version: 17
15+
java-version: 21
1616
distribution: zulu
1717
- name: Load Maven 4.0.0-alpha-4
1818
run: ./mvnw -B -V org.apache.maven.plugins:maven-wrapper-plugin:3.2.0:wrapper -Dmaven=4.0.0-alpha-4 --no-transfer-progress

.github/workflows/it.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
name: Integration Tests
99

1010
steps:
11-
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
11+
- uses: actions/checkout@v4
1212
- name: Set up JDK
1313
uses: actions/setup-java@v3
1414
with:
15-
java-version: 17
15+
java-version: 21
1616
distribution: zulu
1717
- name: Build Setup
1818
run: ./mvnw -B -V clean install -Dlicense.skip=true --no-transfer-progress

.github/workflows/site.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
if: github.repository_owner == 'spotbugs' && ! contains(toJSON(github.event.head_commit.message), '[maven-release-plugin]')
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
13+
- uses: actions/checkout@v4
1414
- name: Set up JDK
1515
uses: actions/setup-java@v3
1616
with:
17-
java-version: 17
17+
java-version: 21
1818
distribution: 'zulu'
1919
- uses: webfactory/ssh-agent@master
2020
with:

.github/workflows/sonar.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010
if: github.repository_owner == 'spotbugs'
1111
runs-on: windows-latest
1212
steps:
13-
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
13+
- uses: actions/checkout@v4
1414
with:
1515
# Disabling shallow clone is recommended for improving relevancy of reporting
1616
fetch-depth: 0
1717
- name: Set up JDK
1818
uses: actions/setup-java@v3
1919
with:
20-
java-version: 17
20+
java-version: 21
2121
distribution: zulu
2222
- name: Analyze with SonarCloud
2323
run: ./mvnw verify sonar:sonar -B -V -Dsonar.projectKey=spotbugs_spotbugs-maven-plugin -Dsonar.organization=spotbugs -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dlicense.skip=true --no-transfer-progress

.github/workflows/sonatype.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
if: github.repository_owner == 'spotbugs' && ! contains(toJSON(github.event.head_commit.message), '[maven-release-plugin]')
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
13+
- uses: actions/checkout@v4
1414
- name: Set up JDK
1515
uses: actions/setup-java@v3
1616
with:
17-
java-version: 17
17+
java-version: 21
1818
distribution: 'zulu'
1919
- name: Deploy to Sonatype
2020
run: ./mvnw deploy -DskipTests -B -V --no-transfer-progress --settings ./.mvn/settings.xml -Dlicense.skip=true

0 commit comments

Comments
 (0)