fix(deps): update dependency com.slack.eithernet:eithernet to v1.8.0 #2865
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: | |
push: | |
branches: | |
- main | |
- renovate/** | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0 | |
with: | |
distribution: temurin | |
java-version: 18 | |
- name: Run unit tests | |
uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a # v2.9.0 | |
with: | |
arguments: --no-configuration-cache --stacktrace check -PslimTests | |
gradle-home-cache-cleanup: true | |
cache-read-only: ${{ github.ref != 'refs/heads/main' }} | |
dependency-graph: generate-and-submit | |
- name: (Fail-only) Upload test report | |
if: failure() | |
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 | |
with: | |
name: Test report | |
path: '**/build/reports/tests/**' | |
dependency-review: | |
runs-on: ubuntu-latest | |
needs: | |
- check | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Dependency Review | |
uses: actions/dependency-review-action@6c5ccdad469c9f8a2996bfecaec55a631a347034 # v3 | |
with: | |
base-ref: refs/heads/main | |
head-ref: ${{ github.ref }} | |
deploy-release-snapshot: | |
runs-on: ubuntu-latest | |
if: "github.event_name == 'push' && github.event.ref == 'refs/heads/main'" | |
needs: | |
- check | |
- dependency-review | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Set up JDK | |
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0 | |
with: | |
distribution: temurin | |
java-version: 18 | |
- name: Decrypt secrets | |
run: | | |
./scripts/setup-age.sh | |
./scripts/signing-setup.sh "$AGE_SECRET_KEY" | |
env: | |
AGE_SECRET_KEY: ${{ secrets.AGE_SECRET_KEY }} | |
- name: Build release app | |
uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a # v2.9.0 | |
env: | |
SENTRY_DSN: ${{ secrets.SENTRY_DSN }} | |
with: | |
arguments: --no-configuration-cache --stacktrace collectReleaseApks | |
gradle-home-cache-cleanup: true | |
cache-read-only: ${{ github.ref != 'refs/heads/main' }} | |
- name: Clean secrets | |
run: scripts/signing-cleanup.sh | |
- name: Deploy snapshot | |
run: scripts/deploy-snapshot.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |