chore(deps): update spec digest to 4443c34 #2497
This file contains hidden or 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] | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
branches: [main] | |
paths-ignore: | |
- "**.md" | |
jobs: | |
build-test-report: | |
permissions: | |
contents: read | |
pull-requests: write | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5 | |
with: | |
global-json-file: global.json | |
- name: Cache NuGet packages | |
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 | |
with: | |
path: ~/.nuget/packages | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', 'Directory.Packages.props', 'global.json') }} | |
restore-keys: | | |
${{ runner.os }}-nuget- | |
- name: Run Test | |
run: dotnet test --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover | |
- uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 | |
with: | |
name: Code Coverage for ${{ matrix.os }} | |
fail_ci_if_error: true | |
verbose: true | |
token: ${{ secrets.CODECOV_UPLOAD_TOKEN }} |