Skip to content

Bump step-security/harden-runner from 2.10.2 to 2.10.3 (#103) #246

Bump step-security/harden-runner from 2.10.2 to 2.10.3 (#103)

Bump step-security/harden-runner from 2.10.2 to 2.10.3 (#103) #246

Workflow file for this run

name: Java CI
on:
push:
branches:
- main
pull_request:
permissions:
checks: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.adoptopenjdk.net:443
downloads.gradle-dn.com:443
github-cloud.githubusercontent.com:443
github.com:443
jcenter.bintray.com:443
objects.githubusercontent.com:443
plugins.gradle.org:443
repo.maven.apache.org:443
services.gradle.org:443
plugins-artifacts.gradle.org:443
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
lfs: true
- uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: 'adopt'
java-version: '11'
cache: 'gradle'
- uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 # v3.5.0
- run: ./gradlew --no-daemon check