Skip to content

chore(deps): update github workflows #720

chore(deps): update github workflows

chore(deps): update github workflows #720

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@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4
with:
distribution: 'temurin'
java-version: 8
- name: Setup Gradle
uses: gradle/actions/setup-gradle@e6215edc51e3a58a8c4cf67a3dde378d1b9f1b68
- name: license header
if: ${{ github.event_name == 'pull_request' }}
run: ./gradlew spotlessCheck -PspotlessFrom=origin/${{ github.base_ref }}
- name: tests
run: ./gradlew check -x spotlessCheck