Skip to content

⬆️ Update dependency gradle to v8.7 (#157) #433

⬆️ Update dependency gradle to v8.7 (#157)

⬆️ Update dependency gradle to v8.7 (#157) #433

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@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Setup Java
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a # v2.9.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@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Setup Java
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a # v2.9.0
- name: Run detekt task
run: ./gradlew :library:detekt
- name: Upload SARIF files
uses: github/codeql-action/upload-sarif@ddccb873888234080b77e9bc2d4764d5ccaaccf9 # v2.21.9
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@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Setup Java
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a # v2.9.0
- name: Run lint task
run: ./gradlew :library:lintDebug
- name: Upload SARIF files
uses: github/codeql-action/upload-sarif@ddccb873888234080b77e9bc2d4764d5ccaaccf9 # v2.21.9
if: ${{ always() }}
with:
sarif_file: .