Skip to content

Commit ccf0250

Browse files
authored
fix: Fix action syntax in workflow configuration (#315)
1 parent 87f9cfa commit ccf0250

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/code-coverage.yml

+20-20
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ name: Code Coverage
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
paths-ignore:
7-
- '**.md'
7+
- "**.md"
88
pull_request:
9-
branches: [ main ]
9+
branches: [main]
1010
paths-ignore:
11-
- '**.md'
11+
- "**.md"
1212

1313
jobs:
1414
build-test-report:
1515
strategy:
1616
matrix:
17-
os: [ ubuntu-latest, windows-latest ]
17+
os: [ubuntu-latest, windows-latest]
1818

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

@@ -23,22 +23,22 @@ jobs:
2323
with:
2424
fetch-depth: 0
2525

26-
- name: Setup .NET SDK
27-
uses: actions/setup-dotnet@v4
28-
env:
29-
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30-
with:
31-
dotnet-version: |
32-
6.0.x
33-
8.0.x
34-
source-url: https://nuget.pkg.github.com/open-feature/index.json
26+
- name: Setup .NET SDK
27+
uses: actions/setup-dotnet@v4
28+
env:
29+
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
with:
31+
dotnet-version: |
32+
6.0.x
33+
8.0.x
34+
source-url: https://nuget.pkg.github.com/open-feature/index.json
3535

3636
- name: Run Test
3737
run: dotnet test --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
3838

39-
- uses: codecov/[email protected]
40-
with:
41-
name: Code Coverage for ${{ matrix.os }}
42-
fail_ci_if_error: true
43-
verbose: true
44-
token: ${{ secrets.CODECOV_UPLOAD_TOKEN }}
39+
- uses: codecov/[email protected]
40+
with:
41+
name: Code Coverage for ${{ matrix.os }}
42+
fail_ci_if_error: true
43+
verbose: true
44+
token: ${{ secrets.CODECOV_UPLOAD_TOKEN }}

0 commit comments

Comments
 (0)