Skip to content

Commit bad4100

Browse files
jburnettjburnett
andauthored
Upgrade net9 (#12)
* Upgrade to net9 * CI: upgrade to net9; on push for all except master * bump version * Upgrade FluentAssertions and VisualStudio XUnit runner --------- Co-authored-by: jburnett <jburnett@altamotech.com>
1 parent 7e02ea4 commit bad4100

File tree

4 files changed

+18
-15
lines changed

4 files changed

+18
-15
lines changed

.config/dotnet-tools.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,15 @@
66
"version": "4.0.1",
77
"commands": [
88
"csmacnz.Coveralls"
9-
]
9+
],
10+
"rollForward": false
11+
},
12+
"dotnet-outdated-tool": {
13+
"version": "4.6.7",
14+
"commands": [
15+
"dotnet-outdated"
16+
],
17+
"rollForward": false
1018
}
1119
}
1220
}

.github/workflows/dotnet-core.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: .NET Core Builds
22

33
on:
44
push:
5-
branches: [ master, '*' ]
5+
branches: [ '*', '!master' ]
66
pull_request:
77
branches: [ master ]
88

@@ -15,17 +15,12 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919

20-
- name: Setup .NET 6.0
20+
- name: Setup .NET 9.0
2121
uses: actions/setup-dotnet@v1
2222
with:
23-
dotnet-version: 6.0.*
24-
25-
- name: Setup .NET 8.0
26-
uses: actions/setup-dotnet@v1
27-
with:
28-
dotnet-version: 8.0.*
23+
dotnet-version: 9.0.*
2924

3025
- name: Install dependencies
3126
run: dotnet restore

common.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
<!-- Company, copyright -->
44
<PropertyGroup>
5-
<Copyright>AltaModa Technologies 2016-2024</Copyright>
5+
<Copyright>AltaModa Technologies 2016-2025</Copyright>
66
<Company>AltaModa Technologies</Company>
77
<Authors>@jburnett</Authors>
88
</PropertyGroup>
99

1010

1111
<!-- Assembly version & attribute controls -->
1212
<PropertyGroup>
13-
<VersionPrefix>4.3.0</VersionPrefix>
13+
<VersionPrefix>4.4.0</VersionPrefix>
1414

1515
<GenerateAssemblyConfigurationAttribute>true</GenerateAssemblyConfigurationAttribute>
1616
<GenerateAssemblyCompanyAttribute>true</GenerateAssemblyCompanyAttribute>

common.test.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55

66
<!-- Target frameworks -->
77
<PropertyGroup>
8-
<TargetFrameworks>net8.0</TargetFrameworks>
8+
<TargetFrameworks>net9.0</TargetFrameworks>
99
</PropertyGroup>
1010

1111

1212
<!-- Packages for test support -->
1313
<ItemGroup>
1414
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.*" />
1515
<PackageReference Include="xunit" Version="2.*" />
16-
<PackageReference Include="xunit.runner.visualstudio" Version="2.*" />
17-
<PackageReference Include="FluentAssertions" Version="6.*" />
16+
<PackageReference Include="xunit.runner.visualstudio" Version="3.*" />
17+
<PackageReference Include="FluentAssertions" Version="8.*" />
1818
</ItemGroup>
1919

2020

0 commit comments

Comments
 (0)