Skip to content

Build(deps): Bump gradle/actions from 3 to 4 #856

Build(deps): Bump gradle/actions from 3 to 4

Build(deps): Bump gradle/actions from 3 to 4 #856

Workflow file for this run

name: Analysis
# Declare default permissions as read only.
permissions: read-all
on: [push, pull_request]
jobs:
detekt:
name: detekt
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4.2.1
with:
distribution: 'temurin'
java-version: 17
- name: Run detekt
run: bash ./gradlew detekt
spotless:
name: Spotless (ktlint)
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4.2.1
with:
distribution: 'temurin'
java-version: 17
- name: Run spotless
run: bash ./gradlew spotlessCheck