-
Notifications
You must be signed in to change notification settings - Fork 20
35 lines (27 loc) · 776 Bytes
/
checks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This is a basic workflow to help you get started with Actions
name: Checks
# Controls when the workflow will run
on:
push:
branches: [ "**" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
gradle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Checkstyle
run: ./gradlew checkstyleMain
- name: Spotless check
run: ./gradlew spotlessCheck
- name: License check
run: ./gradlew license