Release 2020.0.43, 2022.0.18, 2023.0.5, and 2024.0.0-M1 #597
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
permissions: read-all | |
jobs: | |
checks: | |
name: checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
with: | |
fetch-depth: 0 #for spotless ratchet | |
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4 | |
with: | |
distribution: 'temurin' | |
java-version: 8 | |
- uses: gradle/gradle-build-action@fe59895742b4f984530980e4f693943577526b61 # v3 | |
name: license header | |
if: ${{ github.event_name == 'pull_request' }} | |
with: | |
arguments: spotlessCheck -PspotlessFrom=origin/${{ github.base_ref }} | |
- uses: gradle/gradle-build-action@fe59895742b4f984530980e4f693943577526b61 # v3 | |
name: tests | |
with: | |
arguments: check -x spotlessCheck |