Skip to content

Commit

Permalink
Ensure gradle action v4 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskn committed Aug 4, 2024
1 parent 44519f8 commit d62f2c5
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/pr-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,24 @@ jobs:
os: [ ubuntu-latest, macos-latest, windows-latest ]
jdk: [ 17, 19, 21 ]
runs-on: ${{ matrix.os }}

steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.jdk }}
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Detekt
uses: gradle/actions/setup-gradle@v3
with:
arguments: detekt
run: ./gradlew detekt

- name: Test
uses: gradle/actions/setup-gradle@v3
with:
arguments: test
run: ./gradlew test


0 comments on commit d62f2c5

Please sign in to comment.