aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pull_request.yml
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2024-01-31 21:27:49 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2024-01-31 21:37:24 +0530
commitbb43965ce114522888a02ba5d00e7b769de70227 (patch)
tree8513487a66c53f446645ef765f9c0197f5fd0ff2 /.github/workflows/pull_request.yml
parent7571721098f049b7523d08c9e9df1cc123e11765 (diff)
fix(ci): migrate away from deprecated gradle/gradle-build-action
Diffstat (limited to '.github/workflows/pull_request.yml')
-rw-r--r--.github/workflows/pull_request.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 46f8d1e0..dbbff415 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -30,7 +30,7 @@ jobs:
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Check codestyle
- uses: gradle/gradle-build-action@3b1b3b9a2104c2b47fbae53f3938079c00c9bb87 # v3.0.0
+ uses: gradle/actions/setup-gradle@ec92e829475ac0c2315ea8f9eced72db85bb337a # v3
with:
arguments: ktfmtCheck
gradle-home-cache-cleanup: true
@@ -60,7 +60,7 @@ jobs:
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Run unit tests
- uses: gradle/gradle-build-action@3b1b3b9a2104c2b47fbae53f3938079c00c9bb87 # v3.0.0
+ uses: gradle/actions/setup-gradle@ec92e829475ac0c2315ea8f9eced72db85bb337a # v3
with:
arguments: test -PslimTests
gradle-home-cache-cleanup: true
@@ -97,7 +97,7 @@ jobs:
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Build debug APKs
- uses: gradle/gradle-build-action@3b1b3b9a2104c2b47fbae53f3938079c00c9bb87 # v3.0.0
+ uses: gradle/actions/setup-gradle@ec92e829475ac0c2315ea8f9eced72db85bb337a # v3
with:
arguments: assembleFreeDebug assembleNonFreeDebug assembleNonFreeRelease
gradle-home-cache-cleanup: true
@@ -127,7 +127,7 @@ jobs:
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Check library API
- uses: gradle/gradle-build-action@3b1b3b9a2104c2b47fbae53f3938079c00c9bb87 # v3.0.0
+ uses: gradle/actions/setup-gradle@ec92e829475ac0c2315ea8f9eced72db85bb337a # v3
with:
arguments: metalavaCheckCompatibilityRelease
gradle-home-cache-cleanup: true
@@ -157,7 +157,7 @@ jobs:
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Run Lint
- uses: gradle/gradle-build-action@3b1b3b9a2104c2b47fbae53f3938079c00c9bb87 # v3.0.0
+ uses: gradle/actions/setup-gradle@ec92e829475ac0c2315ea8f9eced72db85bb337a # v3
with:
arguments: lint
gradle-home-cache-cleanup: true