Skip to content

Bump the github_actions group in /.github/workflows with 2 updates #337

Bump the github_actions group in /.github/workflows with 2 updates

Bump the github_actions group in /.github/workflows with 2 updates #337

Workflow file for this run

name: Detekt check
on: pull_request
jobs:
detekt:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Set up reviewdog
uses: reviewdog/action-setup@v1
- name: Run check
run: ./gradlew detektAll -i
- name: "Upload report"
uses: actions/upload-artifact@v2
with:
name: DetektHTMLReport
path: build/reports/detekt/detekt.html
- name: Run reviewdog
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: cat build/reports/detekt/detekt.xml | reviewdog -f=checkstyle -reporter=github-pr-review