Skip to content

Pin GitHub Actions to full-length commit SHAs #268

Pin GitHub Actions to full-length commit SHAs

Pin GitHub Actions to full-length commit SHAs #268

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- name: Set up JDK 17
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
with:
java-version: '17'
distribution: 'temurin'
- name: Make user app gradlew executable
run: chmod +x ./gradlew
- name: Build app with Gradle
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3.5.0
with:
arguments: build