chore(deps): update github/codeql-action digest to ccf74c9 (#7277) #10113
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: Code Coverage | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
ORG_GRADLE_PROJECT_enablePTS: false | |
permissions: | |
contents: read | |
jobs: | |
publish-code-coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 | |
- name: Setup Java | |
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4 | |
with: | |
java-version: 21 | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@db19848a5fa7950289d3668fb053140cf3028d43 # v3 | |
with: | |
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
- name: Generate Coverage Report | |
run: ./gradlew jacocoMergedReport | |
env: | |
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | |
- name: Publish Coverage | |
if: success() | |
uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be # v4 | |
with: | |
files: ./code-coverage-report/build/reports/jacoco/jacocoMergedReport/jacocoMergedReport.xml | |
verbose: true | |
token: ${{ secrets.CODECOV_TOKEN }} |