Skip to content

Update dependency dev.zacsweers.autoservice:auto-service-ksp to v1.2.0 #1341

Update dependency dev.zacsweers.autoservice:auto-service-ksp to v1.2.0

Update dependency dev.zacsweers.autoservice:auto-service-ksp to v1.2.0 #1341

Workflow file for this run

name: CI
on:
merge_group:
pull_request: { }
workflow_dispatch: { }
push:
branches:
- 'main'
- "renovate/**"
tags-ignore:
- '**'
jobs:
Validate-Gradle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: ./.github/actions/setup
with:
encryption_key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@216d1ad2b3710bf005dc39237337b9673fd8fcd5 # v3.3.2
Build:
runs-on: ubuntu-latest
needs: [ Validate-Gradle ]
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: ./.github/actions/setup
with:
encryption_key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- name: Build
run: ./gradlew assemble
Lint:
runs-on: ubuntu-latest
needs: [ Build ]
strategy:
matrix:
command: [ detektMain, detektTest, spotlessCheck, lint, checkSortDependencies ]
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: ./.github/actions/setup
with:
encryption_key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- name: Lint
run: ./gradlew ${{ matrix.command }}
Tests:
runs-on: ubuntu-latest
needs: [ Build ]
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: ./.github/actions/setup
with:
encryption_key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- name: Run Unit Tests
run: ./gradlew kover-aggregate:koverXmlReport --no-build-cache
- name: Codecov
uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1
with:
files: ./kover-aggregate/build/reports/kover/report.xml
token: ${{ secrets.CODE_COV_TOKEN }}
- name: Publish Test Report
uses: mikepenz/action-junit-report@ac30be7acb0a361e5492575ab42e47fcadec4928 # v4
if: success() || failure() # always run even if the previous step fails
with:
report_paths: '**/build/reports/kover/report.xml'