Skip to content

fix(deps): update lifecycle to v2.8.7 #576

fix(deps): update lifecycle to v2.8.7

fix(deps): update lifecycle to v2.8.7 #576

Workflow file for this run

name: Pre-Merge
on:
pull_request:
jobs:
assemble:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 17
- name: setup gradle cache
uses: gradle/actions/setup-gradle@v3
- name: run assemble
run: ./gradlew assemble
ktlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 17
- name: setup gradle cache
uses: gradle/actions/setup-gradle@v3
- name: run ktlintCheck
run: ./gradlew ktlintCheck
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 17
- name: setup gradle cache
uses: gradle/actions/setup-gradle@v3
- name: run lintDebug
run: ./gradlew lintDebug
- name: upload lint results
uses: actions/upload-artifact@v3
with:
name: lint
path: app/build/reports/
- name: run detektCheck
run: ./gradlew detektCheck
- name: upload detekt results
uses: actions/upload-artifact@v3
with:
name: detekt
path: build/reports/
danger:
needs: [ analyze ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 100
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
- name: download lint results
uses: actions/download-artifact@v3
with:
name: lint
path: app/build/reports/
- name: download detekt results
uses: actions/download-artifact@v3
with:
name: detekt
path: build/reports/
- name: danger
run: bundle exec danger
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}