Skip to content

Update dependency com.pinterest.ktlint:ktlint-test to v0.50.0 (#67) #282

Update dependency com.pinterest.ktlint:ktlint-test to v0.50.0 (#67)

Update dependency com.pinterest.ktlint:ktlint-test to v0.50.0 (#67) #282

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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: ./.github/actions/setup
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@8d49e559aae34d3e0eb16cde532684bc9702762b # v1.0.6
Build:
runs-on: ubuntu-latest
needs: [ Validate-Gradle ]
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: ./.github/actions/setup
- name: Build
run: ./gradlew assemble
Lint:
runs-on: ubuntu-latest
needs: [ Build ]
strategy:
matrix:
command: [ detekt, spotlessCheck, lint ]
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: ./.github/actions/setup
- name: Lint
run: ./gradlew ${{ matrix.command }}
Tests:
runs-on: ubuntu-latest
needs: [ Build ]
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: ./.github/actions/setup
- name: Run Unit Tests
run: ./gradlew kover-aggregate:koverXmlReport --no-build-cache
- name: Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
files: ./kover-aggregate/build/reports/kover/report.xml
token: ${{ secrets.CODE_COV_TOKEN }}