Skip to content

chore(deps): update codecov/codecov-action action to v5 #1245

chore(deps): update codecov/codecov-action action to v5

chore(deps): update codecov/codecov-action action to v5 #1245

Workflow file for this run

name: Code Coverage
on:
push:
branches: [main]
paths-ignore:
- "**.md"
pull_request:
branches: [main]
paths-ignore:
- "**.md"
jobs:
build-test-report:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
env:
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
dotnet-version: |
6.0.x
8.0.x
source-url: https://nuget.pkg.github.com/open-feature/index.json
- name: Run Test
run: dotnet test --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
- uses: codecov/[email protected]
with:
name: Code Coverage for ${{ matrix.os }}
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_UPLOAD_TOKEN }}