Skip to content

Commit

Permalink
Bump workflow dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kizitonwose committed Nov 28, 2024
1 parent 9f2c044 commit 0002494
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ jobs:
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- uses: gradle/actions/setup-gradle@v4
- name: Run Ktlint
run: ./gradlew lintKotlin

Expand All @@ -33,9 +31,7 @@ jobs:
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- uses: gradle/actions/setup-gradle@v4
- run: ./gradlew apiCheck

unit-tests:
Expand All @@ -48,9 +44,7 @@ jobs:
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- uses: gradle/actions/setup-gradle@v4
- name: Unit tests
run: ./gradlew test

Expand All @@ -75,9 +69,7 @@ jobs:
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- uses: gradle/actions/setup-gradle@v4
# API 32+ emulators have no `default` system images.
- name: Determine emulator target
id: determine-target
Expand Down Expand Up @@ -136,9 +128,7 @@ jobs:
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- uses: gradle/actions/setup-gradle@v4
- name: Deploy to Maven
run: ./gradlew publish
env:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- uses: gradle/actions/setup-gradle@v4
- name: Deploy to Maven
run: ./gradlew publish
env:
Expand Down

0 comments on commit 0002494

Please sign in to comment.