Skip to content

Update dependencyAnalysis to v2.1.4 #1852

Update dependencyAnalysis to v2.1.4

Update dependencyAnalysis to v2.1.4 #1852

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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: ./.github/actions/setup
with:
encryption_key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- name: Gradle Wrapper Validation
uses: gradle/actions/wrapper-validation@d156388eb19639ec20ade50009f3d199ce1e2808 # v4
Build:
runs-on: ubuntu-latest
needs: [ Validate-Gradle ]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- 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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- 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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- 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@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
files: ./kover-aggregate/build/reports/kover/report.xml
token: ${{ secrets.CODE_COV_TOKEN }}
- name: Publish Test Report
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
if: success() || failure() # always run even if the previous step fails
with:
report_paths: '**/build/reports/kover/report.xml'