diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fd42db3..5265fbc3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ on: jobs: build: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - name: Checkout @@ -26,10 +26,7 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: 9.x - - name: Install SQL Local DB - run: ./setup-sqllocaldb.ps1 - shell: pwsh - name: Build run: dotnet build ci.slnf --configuration Release - name: Test - run: dotnet test ci.slnf --configuration Release --no-build --no-restore + run: dotnet test ci.slnf --configuration Release --no-build --no-restore --framework net9.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 08697092..5933704d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: jobs: build: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - name: Checkout @@ -15,13 +15,10 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: 9.x - - name: Install SQL Local DB - run: ./setup-sqllocaldb.ps1 - shell: pwsh - name: Build run: dotnet build ci.slnf --configuration Release - name: Test - run: dotnet test ci.slnf --configuration Release --no-build --no-restore + run: dotnet test ci.slnf --configuration Release --no-build --no-restore --framework net9.0 - name: Pack run: dotnet pack ci.slnf --configuration Release --no-build --no-restore --output . - name: Push to NuGet diff --git a/coverage.sh b/coverage.sh index f9c86c08..d0a58d63 100644 --- a/coverage.sh +++ b/coverage.sh @@ -17,7 +17,7 @@ testtarget="ci.slnf" fi dotnet build $testtarget --configuration Release -dotnet test $testtarget --configuration Release --no-build --no-restore --collect:"XPlat Code Coverage" +dotnet test $testtarget --configuration Release --no-build --no-restore --framework net9.0 --collect:"XPlat Code Coverage" reportgenerator \ -reports:tests/**/coverage.cobertura.xml \ diff --git a/src/Ardalis.Specification.EntityFramework6/Ardalis.Specification.EntityFramework6.csproj b/src/Ardalis.Specification.EntityFramework6/Ardalis.Specification.EntityFramework6.csproj index 8be87cfe..9fd25001 100644 --- a/src/Ardalis.Specification.EntityFramework6/Ardalis.Specification.EntityFramework6.csproj +++ b/src/Ardalis.Specification.EntityFramework6/Ardalis.Specification.EntityFramework6.csproj @@ -2,7 +2,6 @@ net8.0;net9.0;net472; - 13.0 Library false diff --git a/src/Ardalis.Specification.EntityFrameworkCore/Ardalis.Specification.EntityFrameworkCore.csproj b/src/Ardalis.Specification.EntityFrameworkCore/Ardalis.Specification.EntityFrameworkCore.csproj index 54b22ad9..a4a0eb92 100644 --- a/src/Ardalis.Specification.EntityFrameworkCore/Ardalis.Specification.EntityFrameworkCore.csproj +++ b/src/Ardalis.Specification.EntityFrameworkCore/Ardalis.Specification.EntityFrameworkCore.csproj @@ -2,7 +2,6 @@ net8.0;net9.0 - 13.0 enable Ardalis.Specification.EntityFrameworkCore diff --git a/src/Ardalis.Specification/Ardalis.Specification.csproj b/src/Ardalis.Specification/Ardalis.Specification.csproj index 1962cf47..e3a03e80 100644 --- a/src/Ardalis.Specification/Ardalis.Specification.csproj +++ b/src/Ardalis.Specification/Ardalis.Specification.csproj @@ -2,7 +2,6 @@ net8.0;net9.0;netstandard2.0 - 13.0 enable Ardalis.Specification