1 Commits

Author SHA1 Message Date
Renovate Bot
2a31e02556 Update actions/setup-dotnet action to v5
All checks were successful
check main state / build (10.0.x) (push) Successful in 1m38s
Main Build Process / Build & Test (pull_request) Successful in 1m28s
2026-02-05 21:01:41 +00:00
2 changed files with 4 additions and 21 deletions

View File

@@ -13,7 +13,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- name: Setup dotnet - name: Setup dotnet
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v5
with: with:
dotnet-version: '10.0.x' dotnet-version: '10.0.x'
- name: Install dependencies - name: Install dependencies

View File

@@ -28,7 +28,7 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Setup .NET - name: Setup .NET
uses: actions/setup-dotnet@v4 uses: actions/setup-dotnet@v5
with: with:
dotnet-version: | dotnet-version: |
10.x 10.x
@@ -39,30 +39,13 @@ jobs:
uses: danielpalme/ReportGenerator-GitHub-Action@v5.5.1 uses: danielpalme/ReportGenerator-GitHub-Action@v5.5.1
with: with:
reports: "**/*.cobertura.xml" # REQUIRED # The coverage reports that should be parsed (separated by semicolon). Globbing is supported. reports: "**/*.cobertura.xml" # REQUIRED # The coverage reports that should be parsed (separated by semicolon). Globbing is supported.
targetdir: "coverage-report" # REQUIRED # The directory where the generated report should be saved. targetdir: "${{ github.workspace }}" # REQUIRED # The directory where the generated report should be saved.
reporttypes: "Html;MarkdownSummary;Cobertura" # The output formats and scope (separated by semicolon) Values: Badges, Clover, Cobertura, CsvSummary, Html, Html_Dark, Html_Light, Html_BlueRed, HtmlChart, HtmlInline, HtmlInline_AzurePipelines, HtmlInline_AzurePipelines_Dark, HtmlInline_AzurePipelines_Light, HtmlSummary, JsonSummary, Latex, LatexSummary, lcov, MarkdownSummary, MarkdownSummaryGithub, MarkdownDeltaSummary, MHtml, PngChart, SonarQube, TeamCitySummary, TextSummary, TextDeltaSummary, Xml, XmlSummary reporttypes: "Cobertura" # The output formats and scope (separated by semicolon) Values: Badges, Clover, Cobertura, CsvSummary, Html, Html_Dark, Html_Light, Html_BlueRed, HtmlChart, HtmlInline, HtmlInline_AzurePipelines, HtmlInline_AzurePipelines_Dark, HtmlInline_AzurePipelines_Light, HtmlSummary, JsonSummary, Latex, LatexSummary, lcov, MarkdownSummary, MarkdownSummaryGithub, MarkdownDeltaSummary, MHtml, PngChart, SonarQube, TeamCitySummary, TextSummary, TextDeltaSummary, Xml, XmlSummary
verbosity: "Info" # The verbosity level of the log messages. Values: Verbose, Info, Warning, Error, Off verbosity: "Info" # The verbosity level of the log messages. Values: Verbose, Info, Warning, Error, Off
title: "Code Coverage" # Optional title. title: "Code Coverage" # Optional title.
tag: "${{ github.run_number }}_${{ github.run_id }}" # Optional tag or build version. tag: "${{ github.run_number }}_${{ github.run_id }}" # Optional tag or build version.
customSettings: "" # Optional custom settings (separated by semicolon). See: https://github.com/danielpalme/ReportGenerator/wiki/Settings. customSettings: "" # Optional custom settings (separated by semicolon). See: https://github.com/danielpalme/ReportGenerator/wiki/Settings.
toolpath: "reportgeneratortool" # Default directory for installing the dotnet tool. toolpath: "reportgeneratortool" # Default directory for installing the dotnet tool.
- name: Upload coverage report (debug)
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: coverage-report/
if-no-files-found: error
- name: Publish coverage to pages
run: ls coverage-report
- name: Upload coverage via SSH
uses: appleboy/scp-action@v1
with:
host: "192.168.1.103"
username: "gitea"
password: "password"
port: 2222
source: "coverage-report/*"
target: "/config/test"
- name: Upload Combined Coverage XML - name: Upload Combined Coverage XML
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with: