Skip to content

Commit e2bdcce

Browse files
committed
fix: Update all projects to target .NET 8.0 and fix CI workflow to use correct .NET version
1 parent 1f692e6 commit e2bdcce

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v4
1212
- uses: actions/setup-dotnet@v4
1313
with:
14-
dotnet-version: 9.0.x
14+
dotnet-version: 8.0.x
1515
- run: dotnet test
1616
build-pack:
1717
name: Build & Publish
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup .NET
2222
uses: actions/setup-dotnet@v4
2323
with:
24-
dotnet-version: ${{ env.dotnet }}
24+
dotnet-version: 8.0.x
2525
- run: dotnet restore src/ZaString
2626
- run: mkdir -p artifacts
2727
- run: dotnet pack src/ZaString --configuration Release --output artifacts --no-build

samples/ZaString.Demo/ZaString.Demo.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>

src/ZaString/ZaString.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<PackageId>ZaString</PackageId>
88
<Authors>Corentin Giaufer Saubert</Authors>
99
<License>MIT</License>
1010
<Description>ZaString is a library for zero-allocation string manipulation in C# using Span and ReadonlySpan.</Description>
11-
<Version>0.1.0-rc</Version>
11+
<Version>0.1.0-rc.1</Version>
1212
<RepositoryUrl>https://github.com/CorentinGS/ZaString</RepositoryUrl>
1313
</PropertyGroup>
1414

tests/ZaString.Benchmarks/ZaString.Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net9.0</TargetFramework>
3+
<TargetFramework>net8.0</TargetFramework>
44
<OutputType>Exe</OutputType>
55
</PropertyGroup>
66
<PropertyGroup>

tests/ZaString.Tests/ZaString.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>

0 commit comments

Comments
 (0)