Skip to content

Bump reviewdog/action-detect-secrets from 0.19.0 to 0.26.0 #190

Bump reviewdog/action-detect-secrets from 0.19.0 to 0.26.0

Bump reviewdog/action-detect-secrets from 0.19.0 to 0.26.0 #190

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
workflow_call:
jobs:
unit_test:
name: Run Unit Tests
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4.1.5
- uses: actions/setup-java@v4.2.1
with:
distribution: 'zulu'
java-version: 17
- name: Cache Gradle Files
uses: actions/cache@v4.0.2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
- name: Run Unit Tests
run: ./gradlew scratchoff:testDebugUnitTest
- name: Evaluate Test Report
uses: mikepenz/action-junit-report@v4.2.1
if: always()
with:
report_paths: 'scratchoff/build/test-results/testDebugUnitTest/TEST-*.xml'
- name: Generate Coverage Report
run: ./gradlew scratchoff:koverXmlReportDebug --stacktrace
- name: Store Coverage Artifact
uses: actions/upload-artifact@v4.3.1
with:
name: Test-Coverage
path: scratchoff/build/reports/kover/reportDebug.xml
report_test_coverage:
needs: unit_test
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4.1.5
- uses: actions/download-artifact@v4.1.4
with:
name: Test-Coverage
- uses: codecov/codecov-action@v4.3.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: reportDebug.xml
flags: unit
fail_ci_if_error: true
verbose: true