File tree Expand file tree Collapse file tree 6 files changed +5
-14
lines changed
Ardalis.Specification.EntityFramework6
Ardalis.Specification.EntityFrameworkCore Expand file tree Collapse file tree 6 files changed +5
-14
lines changed Original file line number Diff line number Diff line change 17
17
18
18
jobs :
19
19
build :
20
- runs-on : windows -latest
20
+ runs-on : ubuntu -latest
21
21
22
22
steps :
23
23
- name : Checkout
26
26
uses : actions/setup-dotnet@v4
27
27
with :
28
28
dotnet-version : 9.x
29
- - name : Install SQL Local DB
30
- run : ./setup-sqllocaldb.ps1
31
- shell : pwsh
32
29
- name : Build
33
30
run : dotnet build ci.slnf --configuration Release
34
31
- name : Test
35
- run : dotnet test ci.slnf --configuration Release --no-build --no-restore
32
+ run : dotnet test ci.slnf --configuration Release --no-build --no-restore --framework net9.0
Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
build :
9
- runs-on : windows -latest
9
+ runs-on : ubuntu -latest
10
10
11
11
steps :
12
12
- name : Checkout
@@ -15,13 +15,10 @@ jobs:
15
15
uses : actions/setup-dotnet@v4
16
16
with :
17
17
dotnet-version : 9.x
18
- - name : Install SQL Local DB
19
- run : ./setup-sqllocaldb.ps1
20
- shell : pwsh
21
18
- name : Build
22
19
run : dotnet build ci.slnf --configuration Release
23
20
- name : Test
24
- run : dotnet test ci.slnf --configuration Release --no-build --no-restore
21
+ run : dotnet test ci.slnf --configuration Release --no-build --no-restore --framework net9.0
25
22
- name : Pack
26
23
run : dotnet pack ci.slnf --configuration Release --no-build --no-restore --output .
27
24
- name : Push to NuGet
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ testtarget="ci.slnf"
17
17
fi
18
18
19
19
dotnet build $testtarget --configuration Release
20
- dotnet test $testtarget --configuration Release --no-build --no-restore --collect:" XPlat Code Coverage"
20
+ dotnet test $testtarget --configuration Release --no-build --no-restore --framework net9.0 -- collect:" XPlat Code Coverage"
21
21
22
22
reportgenerator \
23
23
-reports:tests/** /coverage.cobertura.xml \
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<TargetFrameworks >net8.0;net9.0;net472;</TargetFrameworks >
5
- <LangVersion >13.0</LangVersion >
6
5
<OutputType >Library</OutputType >
7
6
<GenerateAssemblyInfo >false</GenerateAssemblyInfo >
8
7
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<TargetFrameworks >net8.0;net9.0</TargetFrameworks >
5
- <LangVersion >13.0</LangVersion >
6
5
<Nullable >enable</Nullable >
7
6
8
7
<AssemblyName >Ardalis.Specification.EntityFrameworkCore</AssemblyName >
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<TargetFrameworks >net8.0;net9.0;netstandard2.0</TargetFrameworks >
5
- <LangVersion >13.0</LangVersion >
6
5
<Nullable >enable</Nullable >
7
6
8
7
<AssemblyName >Ardalis.Specification</AssemblyName >
You can’t perform that action at this time.
0 commit comments