fix(deps): update koin to v3.4.3 (#179) #531
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
services: | |
docker: | |
image: docker:dind | |
options: --privileged | |
steps: | |
- name: Configure JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 16 | |
distribution: 'temurin' | |
- name: Check out Git repository | |
uses: actions/checkout@v3 | |
- name: Gradle Build and Test | |
run: | | |
./gradlew build test codeCoverageReport testAggregateReports | |
- name: Add coverage to PR | |
id: jacoco | |
uses: madrapps/jacoco-report@v1.5 | |
with: | |
paths: "./build/reports/jacoco/codeCoverageReport/codeCoverageReport.xml" | |
token: ${{ secrets.RENOVATE_TOKEN }} | |
min-coverage-overall: 40 | |
min-coverage-changed-files: 60 | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v3 | |
if: always() # always run even if the previous step fails | |
with: | |
report_paths: "**/build/reports/xml/**/TEST-*.xml" | |
# - name: Upload coverage to Codecov | |
# uses: codecov/codecov-action@v3 | |
# with: | |
# files: ./build/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml | |
# flags: unittests | |
# name: codecov-umbrella | |
# fail_ci_if_error: true | |
# verbose: true | |
# java-version: 11 |