Skip to content

Commit bea6980

Browse files
authored
code
1 parent 5bdf9b7 commit bea6980

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v2
38+
uses: actions/checkout@v4
3939

4040
# Initializes the CodeQL tools for scanning.
4141
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@v1
42+
uses: github/codeql-action/init@v2
4343
with:
4444
languages: ${{ matrix.language }}
4545
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -50,7 +50,7 @@ jobs:
5050
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5151
# If this step fails, then you should remove it and run the build manually (see below)
5252
- name: Autobuild
53-
uses: github/codeql-action/autobuild@v1
53+
uses: github/codeql-action/autobuild@v2
5454

5555
# ℹ️ Command-line programs to run using the OS shell.
5656
# 📚 https://git.io/JvXDl
@@ -64,4 +64,4 @@ jobs:
6464
# make release
6565

6666
- name: Perform CodeQL Analysis
67-
uses: github/codeql-action/analyze@v1
67+
uses: github/codeql-action/analyze@v2

.github/workflows/dotnet.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717

1818
- name: checkout
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020

2121
- name: Setup .NET
2222
uses: actions/setup-dotnet@v3
@@ -31,20 +31,20 @@ jobs:
3131

3232
- name: Test
3333
#run: dotnet test --no-build /p:CollectCoverage=true /p:CoverletOutput=CoverageResults/ /p:CoverletOutputFormat=opencover
34-
run: dotnet test --no-build /p:CollectCoverage=true /p:CoverletOutput=CoverageRoot /p:CoverletOutputFormat=opencover
34+
run: dotnet test --no-build /p:CollectCoverage=true /p:CoverletOutput=codecoverage /p:CoverletOutputFormat=opencover
3535

3636

3737
# Merge coverage reports using ReportGenerator
3838
- name: Merge Coverage Reports
39-
run: reportgenerator "-reports:${{ github.workspace }}/CoverageRoot/**/*.opencover.xml" "-targetdir:${{ github.workspace }}/CoverageRoot/Merged" -reporttypes:Opencover
39+
run: reportgenerator "-reports:${{ github.workspace }}/**/*.opencover.xml" "-targetdir:${{ github.workspace }}/Coverage" -reporttypes:Opencover
4040

4141

4242
- name: NDepend
4343
uses: ndepend/ndepend-action@v1
4444
with:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4646
license: ${{ secrets.NDEPENDLICENSE }}
47-
coveragefolder: ${{ github.workspace }}/CoverageRoot/Merged
47+
coveragefolder: ${{ github.workspace }}/Coverage
4848
baseline: main_recent
4949
retention-days: 15
5050
#stopIfQGFailed: true

0 commit comments

Comments
 (0)