Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

jobs:
build:
runs-on: windows-latest
runs-on: ubuntu-latest

steps:
- name: Checkout
Expand All @@ -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
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
build:
runs-on: windows-latest
runs-on: ubuntu-latest

steps:
- name: Checkout
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<TargetFrameworks>net8.0;net9.0;net472;</TargetFrameworks>
<LangVersion>13.0</LangVersion>
<OutputType>Library</OutputType>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<LangVersion>13.0</LangVersion>
<Nullable>enable</Nullable>

<AssemblyName>Ardalis.Specification.EntityFrameworkCore</AssemblyName>
Expand Down
1 change: 0 additions & 1 deletion src/Ardalis.Specification/Ardalis.Specification.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<TargetFrameworks>net8.0;net9.0;netstandard2.0</TargetFrameworks>
<LangVersion>13.0</LangVersion>
<Nullable>enable</Nullable>

<AssemblyName>Ardalis.Specification</AssemblyName>
Expand Down
Loading