Skip to content

⬆️ Update androidx.lifecycle to v2.8.7 #472

⬆️ Update androidx.lifecycle to v2.8.7

⬆️ Update androidx.lifecycle to v2.8.7 #472

Workflow file for this run

name: Library / Lint
on:
push:
branches:
- master
pull_request:
permissions:
contents: read
security-events: write
jobs:
api_check:
name: API check
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Java
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@e24011a3b5db78bd5ab798036042d9312002f252 # v3.2.0
- name: Run API check task
run: ./gradlew :library:apiCheck
detekt:
name: detekt
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Java
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@e24011a3b5db78bd5ab798036042d9312002f252 # v3.2.0
- name: Run detekt task
run: ./gradlew :library:detekt
- name: Upload SARIF files
uses: github/codeql-action/upload-sarif@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
if: ${{ always() }}
with:
sarif_file: .
lint:
# Only run Android Lint in pull requests
if: ${{ github.event_name == 'pull_request' }}
name: Lint
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Java
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@e24011a3b5db78bd5ab798036042d9312002f252 # v3.2.0
- name: Run lint task
run: ./gradlew :library:lintDebug
- name: Upload SARIF files
uses: github/codeql-action/upload-sarif@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
if: ${{ always() }}
with:
sarif_file: .