Skip to content

chore(ci): Use gradle-build-action #41

chore(ci): Use gradle-build-action

chore(ci): Use gradle-build-action #41

Workflow file for this run

name: CI
on:
push:
branches: main
pull_request:
branches: main
workflow_call:
concurrency:
group: ci-${{ github.ref_name }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: oracle
java-version: 20
check-latest: true
- uses: gradle/gradle-build-action@v2
- run: ./gradlew compileJava compileTestJava compileTestkitJava --scan
- run: ./gradlew checkstyleMain checkstyleTest checkstyleTestkit --scan
- run: ./gradlew sonarlintMain sonarlintTest sonarlintTestkit --scan
- run: ./gradlew test --scan
- run: ./gradlew testkit --scan
- run: ./gradlew build --scan