Skip to content

chore(deps): update github workflows #726

chore(deps): update github workflows

chore(deps): update github workflows #726

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request: {}
permissions: read-all
jobs:
checks:
name: checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0 #for spotless ratchet
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4
with:
distribution: 'temurin'
java-version: 8
- name: Setup Gradle
uses: gradle/actions/setup-gradle@0d30c9111cf47a838eb69c06d13f3f51ab2ed76f
- name: license header
if: ${{ github.event_name == 'pull_request' }}
run: ./gradlew spotlessCheck -PspotlessFrom=origin/${{ github.base_ref }}
- name: tests
run: ./gradlew check -x spotlessCheck