diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 719c6585..6b5ad840 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -8,7 +8,7 @@ runs: run: | echo "home=${HOME}" >> "$GITHUB_ENV" - name: Set up Java - uses: actions/setup-java@2c7a4878f5d120bd643426d54ae1209b29cc01a3 + uses: actions/setup-java@a18c333f3f14249953dab3e186e5e21bf3390f1d with: distribution: 'temurin' java-version: 17 @@ -31,13 +31,13 @@ runs: echo "org.gradle.daemon=false" >> ~/.gradle/gradle.properties - name: Gradle Wrapper Cache id: gradle-wrapper-cache - uses: actions/cache@a7c34adf76222e77931dedbf4a45b2e4648ced19 + uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles(format('{0}{1}', github.workspace, '/gradle/wrapper/gradle-wrapper.properties')) }} - name: Gradle Dependency Cache id: gradle-dependency-cache - uses: actions/cache@a7c34adf76222e77931dedbf4a45b2e4648ced19 + uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 with: path: ~/.gradle/caches/modules-2 key: ${{ runner.os }}-gradle-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/gradle.properties')) }} @@ -48,7 +48,7 @@ runs: # 2. Relying on the sha for an exact match so that the prime_cache job is re-used by all dependent jobs in a single workflow run - name: Gradle Build Cache id: gradle-build-cache - uses: actions/cache@a7c34adf76222e77931dedbf4a45b2e4648ced19 + uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 with: path: | ~/.gradle/caches/build-cache-1 @@ -59,7 +59,7 @@ runs: ${{ runner.os }}-gradle-build- - name: Rust Cache id: rust-cache - uses: actions/cache@a7c34adf76222e77931dedbf4a45b2e4648ced19 + uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 with: path: | sdk-lib/target diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml index 3e997e3d..89259971 100644 --- a/.github/workflows/deploy-release.yml +++ b/.github/workflows/deploy-release.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout timeout-minutes: 1 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # Gradle Wrapper validation can be flaky # https://github.com/gradle/wrapper-validation-action/issues/40 - name: Gradle Wrapper Validation @@ -51,7 +51,7 @@ jobs: steps: - name: Checkout timeout-minutes: 1 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - name: Setup id: setup timeout-minutes: 30 @@ -87,7 +87,7 @@ jobs: - name: Upload Artifacts if: ${{ always() }} uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 - timeout-minutes: 1 + timeout-minutes: 2 with: name: Release binaries path: ~/artifacts diff --git a/.github/workflows/deploy-snapshot.yml b/.github/workflows/deploy-snapshot.yml index c69de193..4cf78282 100644 --- a/.github/workflows/deploy-snapshot.yml +++ b/.github/workflows/deploy-snapshot.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Checkout timeout-minutes: 1 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # Gradle Wrapper validation can be flaky # https://github.com/gradle/wrapper-validation-action/issues/40 - name: Gradle Wrapper Validation @@ -59,7 +59,7 @@ jobs: steps: - name: Checkout timeout-minutes: 1 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - name: Setup id: setup timeout-minutes: 30 @@ -94,7 +94,7 @@ jobs: - name: Upload Artifacts if: ${{ always() }} uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 - timeout-minutes: 1 + timeout-minutes: 2 with: name: Snapshot binaries path: ~/artifacts diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 4e09e985..2c89041b 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout timeout-minutes: 1 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # Gradle Wrapper validation can be flaky # https://github.com/gradle/wrapper-validation-action/issues/40 - name: Gradle Wrapper Validation @@ -42,7 +42,7 @@ jobs: steps: - name: Checkout timeout-minutes: 1 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - name: Setup id: setup timeout-minutes: 30 @@ -80,7 +80,7 @@ jobs: steps: - name: Checkout timeout-minutes: 1 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - name: Setup id: setup timeout-minutes: 5 @@ -115,7 +115,7 @@ jobs: steps: - name: Checkout timeout-minutes: 1 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - name: Setup id: setup timeout-minutes: 5 @@ -150,7 +150,7 @@ jobs: steps: - name: Checkout timeout-minutes: 1 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - name: Setup id: setup timeout-minutes: 5 @@ -163,6 +163,7 @@ jobs: run: | ./gradlew :sdk-lib:lintRelease :demo-app:lintZcashmainnetRelease - name: Collect Artifacts + if: ${{ always() }} timeout-minutes: 1 env: ARTIFACTS_DIR_PATH: ${{ format('{0}/artifacts', env.home) }} @@ -171,6 +172,7 @@ jobs: mkdir ${ARTIFACTS_DIR_PATH} zip -r ${LINT_ZIP_PATH} . -i \*build/reports/\* - name: Upload Artifacts + if: ${{ always() }} uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 timeout-minutes: 1 with: @@ -185,7 +187,7 @@ jobs: steps: - name: Checkout timeout-minutes: 1 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - name: Setup id: setup timeout-minutes: 5 @@ -223,7 +225,7 @@ jobs: steps: - name: Checkout timeout-minutes: 1 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - name: Setup id: setup timeout-minutes: 5 @@ -234,7 +236,7 @@ jobs: ./gradlew assembleDebug assembleAndroidTest - name: Authenticate to Google Cloud for Firebase Test Lab id: auth_test_lab - uses: google-github-actions/auth@ceee102ec2387dd9e844e01b530ccd4ec87ce955 + uses: google-github-actions/auth@c4799db9111fba4461e9f9da8732e5057b394f72 with: create_credentials_file: true project_id: ${{ secrets.FIREBASE_TEST_LAB_PROJECT }} @@ -278,7 +280,7 @@ jobs: steps: - name: Checkout timeout-minutes: 1 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - name: Setup id: setup timeout-minutes: 5 @@ -315,7 +317,7 @@ jobs: steps: - name: Checkout timeout-minutes: 1 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - name: Setup id: setup timeout-minutes: 5 @@ -361,17 +363,18 @@ jobs: permissions: packages: read contents: read + id-token: write steps: - name: Checkout timeout-minutes: 1 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - name: Setup id: setup timeout-minutes: 5 uses: ./.github/actions/setup - name: Authenticate to Google Cloud for Firebase Test Lab id: auth_test_lab - uses: google-github-actions/auth@ceee102ec2387dd9e844e01b530ccd4ec87ce955 + uses: google-github-actions/auth@c4799db9111fba4461e9f9da8732e5057b394f72 with: create_credentials_file: true project_id: ${{ secrets.FIREBASE_TEST_LAB_PROJECT }} @@ -381,7 +384,7 @@ jobs: - name: Download a single artifact uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 with: - name: Release binaries + name: Demo app release binaries - name: Robo test timeout-minutes: 15 env: diff --git a/.idea/runConfigurations/detektAll.xml b/.idea/runConfigurations/detektAll.xml index bc83a0ba..5d5cdac2 100644 --- a/.idea/runConfigurations/detektAll.xml +++ b/.idea/runConfigurations/detektAll.xml @@ -4,12 +4,14 @@ -