diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cec11ce..235af9d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,6 +35,11 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + - uses: actions/setup-dotnet@v3 + name: Install .NET 8 + with: + dotnet-version: '8.0.x' + dotnet-quality: 'ga' - name: Build run: ./build.sh --package - name: Upload NuGet packages diff --git a/.github/workflows/security-scanning-csharp.yml b/.github/workflows/security-scanning-csharp.yml index 452df54..489c5b2 100644 --- a/.github/workflows/security-scanning-csharp.yml +++ b/.github/workflows/security-scanning-csharp.yml @@ -34,6 +34,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - name: Install .NET 8 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '8.0.x' + dotnet-quality: 'ga' + - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: diff --git a/Directory.Packages.props b/Directory.Packages.props index 4acd9ea..07e5400 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -7,7 +7,6 @@ - diff --git a/README.md b/README.md index a82a72e..990f5cf 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ | ----------------------- | ------------------------------------------------ | | `dotnet-xunit-to-junit` | [![NuGet][nuget-tool-badge]][nuget-tool-command] | -| CI | Status | Platform(s) | Framework(s) | Test Framework(s) | -| ------------------------ | -------------------------------------------------------- | ----------- | ------------------ | ------------------ | -| [GitHub][github-actions] | [![Build Status][github-actions-shield]][github-actions] | `Ubuntu` | `net6.0`, `net7.0` | `net6.0`, `net7.0` | +| CI | Status | Platform(s) | Framework(s) | Test Framework(s) | +| ------------------------ | -------------------------------------------------------- | ----------- | ---------------------------- | ---------------------------- | +| [GitHub][github-actions] | [![Build Status][github-actions-shield]][github-actions] | `Ubuntu` | `net6.0`, `net7.0`, `net8.0` | `net6.0`, `net7.0`, `net8.0` | [CircleCI][circle-ci] can only parse test results in the [JUnit format][junit-format]. This `Extensible Stylesheet Language Transformations` can transform a `xUnit.net v2 XML` test results file into a `JUnit` test results file. diff --git a/build/Build.cs b/build/Build.cs index 4fff4b8..d46299c 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -136,7 +136,7 @@ from framework in testProject.GetTargetFrameworks() .Executes(() => { ReportGeneratorTasks.ReportGenerator(s => s - .SetFramework("net6.0") + .SetFramework("net8.0") .SetReports($"{TestResultsDirectory}/**/coverage.cobertura.xml") .SetTargetDirectory(CodeCoverageDirectory) .SetReportTypes(ReportTypes.Html)); diff --git a/build/_build.csproj b/build/_build.csproj index 8a191bf..f518bac 100644 --- a/build/_build.csproj +++ b/build/_build.csproj @@ -2,12 +2,13 @@ Exe - net7.0 + net8.0 Gabo CS0649;CS0169;CA1707 .. .. 1 + true diff --git a/src/xUnitToJUnit/xUnitToJUnit.csproj b/src/xUnitToJUnit/xUnitToJUnit.csproj index eb51269..b6abdb7 100644 --- a/src/xUnitToJUnit/xUnitToJUnit.csproj +++ b/src/xUnitToJUnit/xUnitToJUnit.csproj @@ -1,7 +1,7 @@  Exe - net6.0;net7.0 + net6.0;net7.0;net8.0 Gabo.DotNet.xUnitToJUnit dotnet-xunit-to-junit latest @@ -32,10 +32,4 @@ Always - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - diff --git a/tests/XsltTests/XsltTests.csproj b/tests/XsltTests/XsltTests.csproj index 62a7b0b..e3655d5 100644 --- a/tests/XsltTests/XsltTests.csproj +++ b/tests/XsltTests/XsltTests.csproj @@ -1,6 +1,6 @@  - net6.0;net7.0 + net6.0;net7.0;net8.0 Gabo.DotNet.xUnitToJUnit.Tests Gabo.DotNet.xUnitToJUnit.Tests latest