From 8795a4e98a4d23c1fe6ee6bffb0ceb97b45f24e6 Mon Sep 17 00:00:00 2001 From: joseftw Date: Tue, 14 Nov 2023 19:56:25 +0100 Subject: [PATCH] Dotnet 8 in ci --- .github/workflows/dotnet.yml | 20 +++++++------------- JOS.ApiKeyAuthentication.sln | 5 +++++ 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 5ce38b0..c91e6af 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -1,25 +1,19 @@ name: .NET - on: push: branches: [ develop ] pull_request: branches: [ develop ] - jobs: build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build -c Release --no-restore - - name: Test - run: dotnet test -c Release --no-build --verbosity normal + dotnet-version: | + 8.0.x + dotnet-quality: 'ga' + - name: Verify + run: dotnet test -c Release --verbosity normal diff --git a/JOS.ApiKeyAuthentication.sln b/JOS.ApiKeyAuthentication.sln index 76a5ab5..ff38d5b 100644 --- a/JOS.ApiKeyAuthentication.sln +++ b/JOS.ApiKeyAuthentication.sln @@ -7,6 +7,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JOS.ApiKeyAuthentication.We EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JOS.ApiKeyAuthentication.Web.Tests", "test\JOS.ApiKeyAuthentication.Web.Tests\JOS.ApiKeyAuthentication.Web.Tests.csproj", "{9EBD5C5D-4CED-4188-99A7-F1783A355D0B}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "misc", "misc", "{7391201F-7150-4899-A34C-2725A6E7E3D5}" + ProjectSection(SolutionItems) = preProject + .github\workflows\dotnet.yml = .github\workflows\dotnet.yml + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU