Skip to content

Bump step-security/harden-runner from 2.7.0 to 2.7.1 #147

Bump step-security/harden-runner from 2.7.0 to 2.7.1

Bump step-security/harden-runner from 2.7.0 to 2.7.1 #147

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@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
lfs: true
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: 'adopt'
java-version: '11'
cache: 'gradle'
- uses: gradle/wrapper-validation-action@216d1ad2b3710bf005dc39237337b9673fd8fcd5 # v3.3.2
- run: ./gradlew --no-daemon check