Merge pull request #13 from jetbrains-academy/custom-inspections #57
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: Gradle Build With Detekt | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3.0.0 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3.0.0 | |
with: | |
java-version: 17 | |
distribution: liberica | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@v1.0.4 | |
- uses: gradle/gradle-build-action@v2.1.5 | |
with: | |
arguments: build --stacktrace -PrunDetekt | |