Skip to content

Commit

Permalink
More CI updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed May 6, 2024
1 parent 97a8526 commit f6d3b93
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: actions/checkout@v4

- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v3

- name: Install JDK
uses: actions/setup-java@v3
Expand All @@ -45,19 +45,18 @@ jobs:
- name: Spot check
run: ./gradlew spotlessCheck

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

- name: Test plugin
id: gradle
if: matrix.job == 'plugin'
uses: gradle/gradle-build-action@v2
with:
arguments: -p keeper-gradle-plugin check
run: ./gradlew -p keeper-gradle-plugin check

- name: Assemble instrumentation tests
id: gradle-assemble-instrumentation
if: matrix.job == 'instrumentation'
uses: gradle/gradle-build-action@v2
with:
arguments: :sample:minifyExternalStagingWithR8 validateL8 --stacktrace
run: ./gradlew :sample:minifyExternalStagingWithR8 validateL8 --stacktrace

# TODO AVD caching disabled due to https://github.com/ReactiveCircus/android-emulator-runner/issues/278
# - name: AVD cache
Expand Down Expand Up @@ -132,12 +131,8 @@ jobs:
distribution: 'zulu'
java-version: '21'

# Just here to restore cache
- name: Gradle prep
id: gradle
uses: gradle/gradle-build-action@v2
with:
arguments: help
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Upload snapshot (main only)
env:
Expand Down

0 comments on commit f6d3b93

Please sign in to comment.