GoogleCloudPlatform / functions-framework-java

FaaS (Function as a service) framework for writing portable Java functions
Apache License 2.0
133 stars 63 forks source link

chore(deps): update actions/setup-java action to v3 #194

Closed renovate-bot closed 1 year ago

renovate-bot commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
actions/setup-java action major v2.5.0 -> v3.11.0
actions/setup-java action major v1.4.3 -> v3.11.0

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the logs for more information.


Release Notes

actions/setup-java ### [`v3.11.0`](https://togithub.com/actions/setup-java/releases/tag/v3.11.0) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.10.0...v3.11.0) In scope of this release we added support for IBM Semeru (OpenJ9) JDK ([https://github.com/actions/setup-java/pull/289](https://togithub.com/actions/setup-java/pull/289)). ```yaml steps: - name: Checkout uses: actions/checkout@v3 - name: Setup-java uses: actions/setup-java@v3 with: distribution: semeru java-version: 17 ``` ##### Supported distributions Currently, the following distributions are supported: | Keyword | Distribution | Official site | License |-|-|-|-| | `temurin` | Eclipse Temurin | [Link](https://adoptium.net/) | [Link](https://adoptium.net/about.html) | `zulu` | Azul Zulu OpenJDK | [Link](https://www.azul.com/downloads/zulu-community/?package=jdk) | [Link](https://www.azul.com/products/zulu-and-zulu-enterprise/zulu-terms-of-use/) | | `adopt` or `adopt-hotspot` | AdoptOpenJDK Hotspot | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | | `adopt-openj9` | AdoptOpenJDK OpenJ9 | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | | `liberica` | Liberica JDK | [Link](https://bell-sw.com/) | [Link](https://bell-sw.com/liberica_eula/) | | `microsoft` | Microsoft Build of OpenJDK | [Link](https://www.microsoft.com/openjdk) | [Link](https://docs.microsoft.com/java/openjdk/faq) | `corretto` | Amazon Corretto Build of OpenJDK | [Link](https://aws.amazon.com/corretto/) | [Link](https://aws.amazon.com/corretto/faqs/) | `semeru` | IBM Semeru Runtime Open Edition | [Link](https://developer.ibm.com/languages/java/semeru-runtimes/downloads/) | [Link](https://openjdk.java.net/legal/gplv2+ce.html) | | `oracle` | Oracle JDK | [Link](https://www.oracle.com/java/technologies/downloads/) | [Link](https://java.com/freeuselicense) ### [`v3.10.0`](https://togithub.com/actions/setup-java/releases/tag/v3.10.0) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.9.0...v3.10.0) In scope of this release we added support for Oracle JDK ([https://github.com/actions/setup-java/pull/450](https://togithub.com/actions/setup-java/pull/450)). ```yaml steps: - name: Checkout uses: actions/checkout@v3 - name: Setup-java uses: actions/setup-java@v3 with: distribution: oracle java-version: 17 ``` ##### Supported distributions Currently, the following distributions are supported: | Keyword | Distribution | Official site | License |-|-|-|-| | `temurin` | Eclipse Temurin | [Link](https://adoptium.net/) | [Link](https://adoptium.net/about.html) | `zulu` | Azul Zulu OpenJDK | [Link](https://www.azul.com/downloads/zulu-community/?package=jdk) | [Link](https://www.azul.com/products/zulu-and-zulu-enterprise/zulu-terms-of-use/) | | `adopt` or `adopt-hotspot` | AdoptOpenJDK Hotspot | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | | `adopt-openj9` | AdoptOpenJDK OpenJ9 | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | | `liberica` | Liberica JDK | [Link](https://bell-sw.com/) | [Link](https://bell-sw.com/liberica_eula/) | | `microsoft` | Microsoft Build of OpenJDK | [Link](https://www.microsoft.com/openjdk) | [Link](https://docs.microsoft.com/java/openjdk/faq) | `corretto` | Amazon Corretto Build of OpenJDK | [Link](https://aws.amazon.com/corretto/) | [Link](https://aws.amazon.com/corretto/faqs/) | `oracle` | Oracle JDK | [Link](https://www.oracle.com/java/technologies/downloads/) | [Link](https://java.com/freeuselicense) ### [`v3.9.0`](https://togithub.com/actions/setup-java/releases/tag/v3.9.0) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.8.0...v3.9.0) In scope of this release we add support for `.java-version` file ([https://github.com/actions/setup-java/pull/426](https://togithub.com/actions/setup-java/pull/426)). For more information about its usage please refer to the documentation. ```yaml steps: - uses: actions/checkout@v3 - name: Setup java uses: actions/setup-java@v3 with: distribution: '' java-version-file: .java-version - run: java HelloWorldApp.java ``` ### [`v3.8.0`](https://togithub.com/actions/setup-java/releases/tag/v3.8.0) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.6.0...v3.8.0) In scope of this release we added logic to pass the token input through on GHES for Microsoft Build of OpenJDK ([https://github.com/actions/setup-java/pull/395](https://togithub.com/actions/setup-java/pull/395)) and updated [minimatch](https://togithub.com/actions/setup-java/pull/413) dependency. ### [`v3.6.0`](https://togithub.com/actions/setup-java/releases/tag/v3.6.0) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.5.1...v3.6.0) In scope of this release we added [Maven Toolchains Support](https://togithub.com/actions/setup-java/issues/276) and [Maven Toolchains Declaration](https://togithub.com/actions/setup-java/pull/282). Moreover, from this release we use `os.arch` to determine default architecture for runners: [https://github.com/actions/setup-java/pull/376](https://togithub.com/actions/setup-java/pull/376). Besides, we made such changes as: - [Upgrade @​actions/cache from 3.0.0 to 3.0.4](https://togithub.com/actions/setup-java/pull/392) so it respects `SEGMENT_DOWNLOAD_TIMEOUT_MINS` - [Support Gradle version catalog](https://togithub.com/actions/setup-java/pull/394) - [Update @​actions/core to 1.10.0](https://togithub.com/actions/setup-java/pull/390) ### [`v3.5.1`](https://togithub.com/actions/setup-java/releases/tag/v3.5.1) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.5.0...v3.5.1) In scope of this release we change logic for Microsoft Build of OpenJDK. Previously it had hard coded versions. In this release versions were moved to the separate [json file](https://togithub.com/actions/setup-java/blob/main/src/distributions/microsoft/microsoft-openjdk-versions.json). When a new version of Java is released, it can be added to this file and be used without releasing new version of the action. - Related pull request: [https://github.com/actions/setup-java/pull/383](https://togithub.com/actions/setup-java/pull/383) ### [`v3.5.0`](https://togithub.com/actions/setup-java/releases/tag/v3.5.0) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.4.1...v3.5.0) ##### Add support for multiple jdks In scope of this release we add [support for multiple jdks](https://togithub.com/actions/setup-java/pull/368). Customers can specify multiple versions of java through `java-version` input. ```yaml steps: - uses: actions/setup-java@v3 with: distribution: '' java-version: | 8 11 15 ``` ##### Besides, we added such changes as: - Removed restore-keys because it leaded to an unexpected growth of the cache: [https://github.com/actions/setup-java/pull/285](https://togithub.com/actions/setup-java/pull/285) - Added new files pattern for gradle cache: [https://github.com/actions/setup-java/pull/274](https://togithub.com/actions/setup-java/pull/274) - Added cache-hit output to the action.yml: [https://github.com/actions/setup-java/pull/373](https://togithub.com/actions/setup-java/pull/373) ### [`v3.4.1`](https://togithub.com/actions/setup-java/releases/tag/v3.4.1) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.4.0...v3.4.1) In scope of this release we updated `actions/cache` package as the new version contains fixes for [caching error handling](https://togithub.com/actions/setup-java/pull/350). ### [`v3.4.0`](https://togithub.com/actions/setup-java/releases/tag/v3.4.0) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.3.0...v3.4.0) In scope of this release we introduce such changes as: - Add Java 11.0.15 to Microsoft Build of OpenJDK: [https://github.com/actions/setup-java/pull/331](https://togithub.com/actions/setup-java/pull/331) - Update versions for Java 17 to 17.0.3 and add aarch64 support to Java 11 for Microsoft Build of OpenJDK: [https://github.com/actions/setup-java/pull/342](https://togithub.com/actions/setup-java/pull/342) - Fix support for `Zulu OpenJDK` arm64 architecture: [https://github.com/actions/setup-java/pull/339](https://togithub.com/actions/setup-java/pull/339) - `Sbt-cache`: don't cache some files: [https://github.com/actions/setup-java/pull/332](https://togithub.com/actions/setup-java/pull/332) ### [`v3.3.0`](https://togithub.com/actions/setup-java/releases/tag/v3.3.0) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.2.0...v3.3.0) In scope of this pull request we add support for Amazon Corretto Build of OpenJDK ([https://github.com/actions/setup-java/pull/312](https://togithub.com/actions/setup-java/pull/312)). ```yaml steps: - name: Checkout uses: actions/checkout@v3 - name: Setup-java uses: actions/setup-java@v3 with: distribution: corretto java-version: 11 ``` ##### Supported distributions Currently, the following distributions are supported: | Keyword | Distribution | Official site | License |-|-|-|-| | `temurin` | Eclipse Temurin | [Link](https://adoptium.net/) | [Link](https://adoptium.net/about.html) | `zulu` | Zulu OpenJDK | [Link](https://www.azul.com/downloads/zulu-community/?package=jdk) | [Link](https://www.azul.com/products/zulu-and-zulu-enterprise/zulu-terms-of-use/) | | `adopt` or `adopt-hotspot` | Adopt OpenJDK Hotspot | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | | `adopt-openj9` | Adopt OpenJDK OpenJ9 | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | | `liberica` | Liberica JDK | [Link](https://bell-sw.com/) | [Link](https://bell-sw.com/liberica_eula/) | | `microsoft` | Microsoft Build of OpenJDK | [Link](https://www.microsoft.com/openjdk) | [Link](https://docs.microsoft.com/java/openjdk/faq) | `corretto` | Amazon Corretto Build of OpenJDK | [Link](https://aws.amazon.com/corretto/) | [Link](https://aws.amazon.com/corretto/faqs/) ### [`v3.2.0`](https://togithub.com/actions/setup-java/releases/tag/v3.2.0) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.1.1...v3.2.0) This release introduces dependency caching support for sbt ([https://github.com/actions/setup-java/pull/302](https://togithub.com/actions/setup-java/pull/302)). ##### Caching sbt dependencies ```yml steps: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: '11' cache: 'sbt' - name: Build with SBT run: sbt package ``` ### [`v3.1.1`](https://togithub.com/actions/setup-java/releases/tag/v3.1.1) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.1.0...v3.1.1) This release introduces new output cache-hit ([https://github.com/actions/setup-java/pull/275](https://togithub.com/actions/setup-java/pull/275)) and update of `actions/cache` dependency to 2.0.2 ([https://github.com/actions/setup-java/pull/317](https://togithub.com/actions/setup-java/pull/317)) ##### Add "cache-hit" output The `cache-hit` output contains boolean value indicating that an exact match was found for the key. It shows that the action uses already existing cache or not. The output is available only if cache is enabled. ##### Update actions/cache to 2.0.2 We updated `actions/cache` package as the new version contains fixes related to GHES 3.5 ([https://github.com/actions/setup-java/pull/317](https://togithub.com/actions/setup-java/pull/317)) ### [`v3.1.0`](https://togithub.com/actions/setup-java/releases/tag/v3.1.0) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.0.0...v3.1.0) In scope of this release we added [support for caching from GHES 3.5](https://togithub.com/actions/setup-java/pull/308) and fixed download issue for files > 2GB during restore. ##### Updated dependencies: - bumped `minimist` from `1.2.5` to `1.2.6`. - updated `actions/cache` dependency to 2.0.0 version ### [`v3.0.0`](https://togithub.com/actions/setup-java/releases/tag/v3.0.0) [Compare Source](https://togithub.com/actions/setup-java/compare/v2.5.1...v3.0.0) In scope of this release we changed version of the runtime Node.js for the setup-java action and updated package-lock.json file to v2. ##### Breaking Changes With the update to Node 16 in [#​290](https://togithub.com/actions/setup-java/pull/290), all scripts will now be run with Node 16 rather than Node 12. ### [`v2.5.1`](https://togithub.com/actions/setup-java/releases/tag/v2.5.1) [Compare Source](https://togithub.com/actions/setup-java/compare/v2.5.0...v2.5.1) In scope of this release we updated actions/core to 1.10.0 for v2 major tag: [https://github.com/actions/setup-java/pull/466](https://togithub.com/actions/setup-java/pull/466)

Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



This PR has been generated by Mend Renovate. View repository job log here.

garethgeorge commented 1 year ago

Closed in favor of https://github.com/GoogleCloudPlatform/functions-framework-java/pull/196 which includes manual fixes.

forking-renovate[bot] commented 1 year ago

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 3.x releases. However, if you upgrade to 3.x manually then Renovate will reenable minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.