diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7bb91847..93223336 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Build with Tests +name: Run Tests on: pull_request: @@ -10,47 +10,29 @@ on: jobs: windows-build-and-run: + name: Run Tests on Windows runs-on: windows-2022 env: IsRunningOnGitHubActions: 'true' - steps: + steps: - uses: actions/checkout@v4 - - uses: actions/setup-dotnet@v3 - with: - dotnet-version: | - 7.0.x - 8.0.x - - - name: 'Build Unit Tests' - run: | - dotnet build './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net7.0 - - name: 'Run Unit Tests' run: | - dotnet test './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net7.0 + dotnet test './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net8.0 linux-build-and-run: + name: Run Tests on Linux runs-on: ubuntu-latest env: IsRunningOnGitHubActions: 'true' - steps: + steps: - uses: actions/checkout@v4 - - uses: actions/setup-dotnet@v3 - with: - dotnet-version: | - 7.0.x - 8.0.x - - - name: 'Build Unit Tests' - run: | - dotnet build './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net7.0 - - name: 'Run Unit Tests' run: | - dotnet test './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net7.0 \ No newline at end of file + dotnet test './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net8.0 \ No newline at end of file diff --git a/WireMock.Net Solution.sln b/WireMock.Net Solution.sln index 7bc052d0..67ec7274 100644 --- a/WireMock.Net Solution.sln +++ b/WireMock.Net Solution.sln @@ -70,7 +70,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WireMock.Net.Console.Net472 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Actions", "Actions", "{1DAEFF47-D117-4E95-8B3E-4F7C8B92011A}" ProjectSection(SolutionItems) = preProject - ..\System.Linq.Dynamic.Core\.github\workflows\ci.yml = ..\System.Linq.Dynamic.Core\.github\workflows\ci.yml + .github\workflows\ci.yml = .github\workflows\ci.yml .github\workflows\CreateRelease.yml = .github\workflows\CreateRelease.yml EndProjectSection EndProject