Setup Java JDK
Actively maintainedactions/setup-java · MIT
Set up your GitHub Actions workflow with a specific version of Java
★ 2k starsLast commit yesterdayLatest v5.7.0
B
75
/ 100
Security signals
OpenSSF Scorecard5.3 / 10
SECURITY.md presentNo
Immutable releasesEnabled
Known vulnerabilitiesNone on record
How to use it safely
Recommended: pin to commit SHA
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0Mutable tags like v5.7.0 can be rewritten to point at malicious commits. Pinning to the full commit SHA is the only reference GitHub guarantees immutable.
Full workflow example
steps: - uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
Score breakdown
Security (35%)62
Popularity (20%)71
Maintenance (30%)100
Reliability (15%)58