Skip to content

feat: Add Kleinanzeigen theme #1708

feat: Add Kleinanzeigen theme

feat: Add Kleinanzeigen theme #1708

Workflow file for this run

name: '👷 Build → 🧑‍🔬 Test → 🕵️ Lint'
on:
push:
branches: ["main", "hotfix/*", "chore-updated-icons"]
pull_request:
branches: ["main", "hotfix/*", "chore-updated-icons"]
merge_group:
types: [ checks_requested ]
branches: ["main", "hotfix/*", "chore-updated-icons"]
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- uses: ./.github/actions/setup-gradle-properties
- uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1.1.0
- uses: actionsdesk/lfs-warning@e5f9a4c21f4bee104db7c0f23954dde59e5df909 # v3.2
- uses: gradle/gradle-build-action@243af859f8ca30903d9d7f7936897ca0358ba691 # v2.7.1
with:
gradle-home-cache-cleanup: true
- run: ./gradlew dependencyGuard --quiet
- run: ./gradlew spotlessCheck :build-logic:spotlessCheck
build-test-lint:
needs: validation
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
with:
lfs: true
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- uses: ./.github/actions/setup-gradle-properties
- name: '🐘 Setup Gradle'
uses: gradle/gradle-build-action@243af859f8ca30903d9d7f7936897ca0358ba691 # v2.7.1
with:
gradle-home-cache-cleanup: true
- name: '👷 Build'
id: build
uses: gradle/gradle-build-action@243af859f8ca30903d9d7f7936897ca0358ba691 # v2.7.1
with:
arguments: assembleRelease
- name: '📦 Archive APKs'
uses: actions/upload-artifact@v3
with:
name: apk
path: '**/build/outputs/apk/**/*.apk'
- name: '📦 Archive AARs'
uses: actions/upload-artifact@v3
with:
name: aar
path: '**/build/outputs/aar'
- name: '📢 Diffuse reports'
if: ${{ always() && github.event_name == 'pull_request' && steps.build.outcome == 'success' }}
uses: ./.github/actions/diffuse-aar
- name: '🧑‍🔬 Test'
id: test
uses: gradle/gradle-build-action@243af859f8ca30903d9d7f7936897ca0358ba691 # v2.7.1
with:
arguments: globalCiUnitTest verifyPaparazziRelease
- name: '📦 Archive JUnit reports'
if: ${{ always() && contains(fromJSON('["success", "failure"]'), steps.test.outcome) }}
uses: ./.github/actions/archive-junit-reports
with:
html: '**/build/reports/tests/test*'
xml: '**/build/test-results/test*/**.xml'
- name: '📦 Archive Paparazzi reports'
if: ${{ always() && contains(fromJSON('["success", "failure"]'), steps.test.outcome) }}
uses: ./.github/actions/archive-paparazzi-reports
- name: '📢 Paparazzi report'
if: ${{ failure() && steps.test.outcome == 'failure' && github.event_name == 'pull_request'}}
uses: ./.github/actions/paparazzi-report
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
pr-number: ${{ github.event.pull_request.number }}
- name: '🕵️ Lint'
id: lint
uses: gradle/gradle-build-action@243af859f8ca30903d9d7f7936897ca0358ba691 # v2.7.1
with:
arguments: lintRelease
- name: '📦 Archive Lint reports'
if: ${{ always() && contains(fromJSON('["success", "failure"]'), steps.lint.outcome) }}
uses: ./.github/actions/archive-lint-reports
with:
analysis: ${{ github.event_name != 'merge_group' && './' || '' }}
html: '**/build/reports/lint-results-*.html'
sarif: '**/build/reports/lint-results-*.sarif'
xml: '**/build/reports/lint-results-*.xml'
dokka:
needs: validation
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- uses: ./.github/actions/setup-gradle-properties
- name: '📋 Build Dokka'
uses: gradle/gradle-build-action@243af859f8ca30903d9d7f7936897ca0358ba691 # v2.7.1
with:
# https://github.com/Kotlin/dokka/issues/1217
arguments: dokkaHtmlMultiModule --no-configuration-cache --no-parallel --max-workers=1
gradle-home-cache-cleanup: true
- name: '📦 Archive Dokka'
uses: actions/upload-artifact@v3
with:
name: dokka
path: 'build/dokka'