Skip to content

Commit

Permalink
Bump actions/setup-java from 1 to 4 (#1065)
Browse files Browse the repository at this point in the history
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 1 to 4.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](actions/setup-java@v1...v4)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Dec 18, 2023
1 parent 6147c84 commit a43a318
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,13 @@ jobs:
- uses: actions/checkout@v4
name: checkout

- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
name: set up jdk ${{matrix.java}}
with:
distribution: 'temurin'
java-version: ${{matrix.java}}
cache: 'maven'
cache-dependency-path: '**/pom.xml'

- name: build with maven
run: mvn -B formatter:validate verify --file pom.xml
Expand All @@ -55,10 +58,13 @@ jobs:
- uses: actions/checkout@v4
name: checkout

- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
name: set up jdk ${{matrix.java}}
with:
distribution: 'temurin'
java-version: ${{matrix.java}}
cache: 'maven'
cache-dependency-path: '**/pom.xml'

- name: build with maven
run: mvn -B formatter:validate verify --file pom.xml
Expand All @@ -73,9 +79,12 @@ jobs:
- uses: actions/checkout@v4
name: checkout

- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
cache: 'maven'
cache-dependency-path: '**/pom.xml'

- uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -104,9 +113,12 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
cache: 'maven'
cache-dependency-path: '**/pom.xml'

- name: sonar
env:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ jobs:
with:
token: ${{secrets.RELEASE_TOKEN}}

- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11

- uses: actions/setup-python@v5
Expand Down

0 comments on commit a43a318

Please sign in to comment.