Guava issue repro #2882
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
# Only run push on main | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**/*.md' | |
# Always run on PRs | |
pull_request: | |
branches: [ main ] | |
merge_group: | |
concurrency: | |
group: 'ci-${{ github.event.merge_group.head_ref || github.head_ref }}-${{ github.workflow }}' | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
lfs: 'true' | |
- name: Install JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '20' | |
- name: Build and run tests | |
id: gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: check :samples:star:apk:assembleDebug detektMain detektTest :samples:star:benchmark:compileBenchmarkReleaseKotlin --continue --no-configuration-cache | |
gradle-home-cache-cleanup: true | |
cache-read-only: false | |
- name: (Fail-only) Upload reports | |
if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: reports-build | |
path: | | |
**/build/reports/** | |
- name: Publish snapshot (main branch only) | |
if: github.repository == 'slackhq/circuit' && github.ref == 'refs/heads/main' | |
run: ./gradlew publish -PmavenCentralUsername=${{ secrets.SONATYPEUSERNAME }} -PmavenCentralPassword=${{ secrets.SONATYPEPASSWORD }} --no-configuration-cache | |
snapshots: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
lfs: 'true' | |
- name: Check LFS files | |
uses: actionsdesk/lfs-warning@v3.2 | |
- name: Install JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '20' | |
- name: Verify Snapshots | |
id: gradle-snapshots | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: verifyRoborazzi | |
gradle-home-cache-cleanup: true | |
cache-read-only: false | |
- name: (Fail-only) Upload reports | |
if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: reports-snapshots | |
path: | | |
**/build/reports/** | |
**/src/test/snapshots/**/*_compare.png |