Skip to content

Pin non-GitHub actions with full sha in workflows #778

Pin non-GitHub actions with full sha in workflows

Pin non-GitHub actions with full sha in workflows #778

Workflow file for this run

name: Java CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [11, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- uses: gradle/actions/setup-gradle@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1
- run: ./gradlew assemble
- run: ./gradlew check