bisq/.github/workflows/codacy-coverage-reporter.yml
dependabot[bot] deef03ea77
build(deps): bump gradle/gradle-build-action from 2.9.0 to 2.10.0
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.9.0 to 2.10.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2.9.0...v2.10.0)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-27 14:50:28 +00:00

34 lines
993 B
YAML

name: Codacy Coverage Reporter
on:
push:
branches:
- master
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
name: codacy-coverage-reporter
steps:
- uses: actions/checkout@v4.1.1
- name: Set up JDK
uses: actions/setup-java@v3.13.0
with:
java-version: '11'
distribution: 'zulu'
- name: Build with Gradle
uses: gradle/gradle-build-action@v2.10.0
with:
arguments: build jacocoTestReport testCodeCoverageReport --scan
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1.3.0
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: ${{ github.workspace }}/code-coverage-report/build/reports/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml