diff --git a/.github/workflows/deploy-sdk.yml b/.github/workflows/deploy-sdk.yml index 6a583198..d475a80a 100644 --- a/.github/workflows/deploy-sdk.yml +++ b/.github/workflows/deploy-sdk.yml @@ -62,7 +62,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Notify team of git tag being created - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v2.0.0 if: steps.semantic-release.outputs.new_release_published == 'true' # only run if a git tag was made. with: # Use block kit for format of the JSON payloads: https://app.slack.com/block-kit-builder @@ -107,7 +107,7 @@ jobs: environment: production - name: Notify team of failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v2.0.0 if: ${{ failure() }} # only run this if any previous step failed with: # Use block kit for format of the JSON payloads: https://app.slack.com/block-kit-builder @@ -165,7 +165,7 @@ jobs: SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }} - name: Notify team of successful deployment - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v2.0.0 if: ${{ success() }} with: # Use block kit for format of the JSON payloads: https://app.slack.com/block-kit-builder @@ -202,7 +202,7 @@ jobs: SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK - name: Notify team of failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v2.0.0 if: ${{ failure() }} # only run this if any previous step failed with: # Use block kit for format of the JSON payloads: https://app.slack.com/block-kit-builder diff --git a/.github/workflows/manual-deployment.yml b/.github/workflows/manual-deployment.yml index d0f3389e..eefda502 100644 --- a/.github/workflows/manual-deployment.yml +++ b/.github/workflows/manual-deployment.yml @@ -36,7 +36,7 @@ jobs: SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }} - name: Notify team of successful deployment - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v2.0.0 if: ${{ success() }} with: payload: | @@ -69,7 +69,7 @@ jobs: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NOTIFY_RELEASES_WEBHOOK_URL }} SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK - name: Notify team of failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v2.0.0 if: ${{ failure() }} with: payload: | diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index 33d20168..15ad6966 100644 --- a/.github/workflows/snapshot-release.yml +++ b/.github/workflows/snapshot-release.yml @@ -146,10 +146,10 @@ jobs: ${{ runner.os }}-gradle-${{ matrix.gradle-version }}- - name: Verify gradle scripts are valid gradle scripts - uses: gradle/actions/wrapper-validation@v3 + uses: gradle/actions/wrapper-validation@v4 - name: Set up Gradle Version ${{ matrix.gradle-version }} - uses: gradle/actions/setup-gradle@v3 + uses: gradle/actions/setup-gradle@v4 with: gradle-version: ${{ matrix.gradle-version }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ab298654..2e07b1b6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: - name: Run unit tests (${{ matrix.module }}) run: ./gradlew :${{ matrix.module }}:runJacocoTestReport - name: Upload code coverage report - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 env: CODECOV_TOKEN: ${{ secrets.CODECOV_UPLOAD_TOKEN }} with: @@ -25,7 +25,7 @@ jobs: verbose: true files: ./${{ matrix.module }}/build/reports/jacoco/test/jacocoTestReport.xml,./${{ matrix.module }}/build/reports/jacoco/runJacocoTestReport/runJacocoTestReport.xml - name: Publish test results (${{ matrix.module }}) - uses: mikepenz/action-junit-report@v4 + uses: mikepenz/action-junit-report@v5 with: report_paths: '**/build/test-results/test*/TEST-*.xml' fail_on_failure: true @@ -97,7 +97,7 @@ jobs: # Run the instrumentation tests on the emulator. script: ./gradlew :samples:${{ matrix.sample }}:connectedDebugAndroidTest --no-daemon --stacktrace -PuseKsp=true --debug - name: Publish test results - uses: mikepenz/action-junit-report@v4 + uses: mikepenz/action-junit-report@v5 if: always() with: report_paths: 'samples/${{ matrix.sample }}/build/outputs/androidTest-results/connected/TEST-*.xml'