Skip to content

chore(deps): update codecov/codecov-action action to v4.6.0 (#306) #1228

chore(deps): update codecov/codecov-action action to v4.6.0 (#306)

chore(deps): update codecov/codecov-action action to v4.6.0 (#306) #1228

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:

Check failure on line 14 in .github/workflows/code-coverage.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/code-coverage.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
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/codecov-action@v4.6.0
with:
name: Code Coverage for ${{ matrix.os }}
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_UPLOAD_TOKEN }}