used ephemeral response in question transfer #2623
Workflow file for this run
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: Basic checks | |
on: [pull_request] | |
env: | |
JAVA_VERSION: 20 | |
jobs: | |
spotless: | |
name: "Spotless" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ env.JAVA_VERSION }} | |
- uses: actions/checkout@v2 | |
- name: Check | |
run: ./gradlew spotlessCheck | |
gradle-test: | |
name: "Gradle Test" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ env.JAVA_VERSION }} | |
- uses: actions/checkout@v2 | |
- name: Check | |
run: ./gradlew test | |
sonarlint: | |
name: "Sonarlint" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ env.JAVA_VERSION }} | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 2 | |
- name: Check | |
run: ./gradlew sonarlintMain |