Update actions/setup-java action to v4 #300
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: Pull Request check | |
on: | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: ktlint | |
uses: ScaCap/action-ktlint@master | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: github-pr-review | |
- name: Setup and execute Gradle 'test' task | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: detekt test |