Skip to content

Commit

Permalink
fix: Fix action syntax in workflow configuration (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
askpt authored Nov 14, 2024
1 parent 87f9cfa commit ccf0250
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ name: Code Coverage

on:
push:
branches: [ main ]
branches: [main]
paths-ignore:
- '**.md'
- "**.md"
pull_request:
branches: [ main ]
branches: [main]
paths-ignore:
- '**.md'
- "**.md"

jobs:
build-test-report:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
os: [ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}

Expand All @@ -23,22 +23,22 @@ jobs:
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: 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 }}
- uses: codecov/[email protected]
with:
name: Code Coverage for ${{ matrix.os }}
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_UPLOAD_TOKEN }}

0 comments on commit ccf0250

Please sign in to comment.