Skip to content

Update actions/setup-java action to v4 #300

Update actions/setup-java action to v4

Update actions/setup-java action to v4 #300

Workflow file for this run

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