Skip to content

Commit

Permalink
Bump SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Smaug123 committed Aug 19, 2024
1 parent 31b94c6 commit 2c82383
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/dotnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ jobs:
- macOS-latest
- windows-latest
dotnet:
- { sdk: 6.0.x, framework: net6.0 }
- { sdk: 8.0.x, framework: net8.0 }
include:
- os: windows-latest
dotnet: { sdk: 6.0.x, framework: net481 }

runs-on: ${{matrix.os}}

Expand All @@ -48,10 +44,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET SDK v6.0.x
- name: Setup .NET SDK v8.0.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Prepare .NET tools
run: dotnet tool restore
- name: Run Fantomas
Expand All @@ -64,10 +60,10 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET SDK v6.0.x
- name: Setup .NET SDK v8.0.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Prepare .NET tools
run: dotnet tool restore
- name: Prepare analyzers
Expand All @@ -88,10 +84,10 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # so that NerdBank.GitVersioning has access to history
- name: Setup .NET SDK v6.0.x
- name: Setup .NET SDK v8.0.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Build
run: dotnet build HeterogeneousCollections/HeterogeneousCollections.fsproj --configuration Release
- name: Pack
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
Expand All @@ -21,10 +21,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="ApiSurface" Version="4.0.40" />
<PackageReference Include="ApiSurface" Version="4.0.44" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="FsUnit" Version="6.0.0" />
</ItemGroup>

Expand Down
6 changes: 6 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"sdk": {
"version": "8.0.400",
"rollForward": "latestMajor"
}
}

0 comments on commit 2c82383

Please sign in to comment.