Skip to content

Commit 605690d

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Github Actions] Multiple .NET framework versions
1 parent 426a6a4 commit 605690d

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.github/workflows/dotnet.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@ jobs:
2727
- name: Setup .NET
2828
uses: actions/setup-dotnet@v4
2929
with:
30-
dotnet-version: 8.0.x
30+
dotnet-version: |
31+
8.0.x
32+
9.0.x
33+
- name: Tooling check
34+
run: >
35+
dotnet --version
3136
- name: Restore dependencies
3237
run: dotnet restore
3338
- name: Build

src/algorithm_exercises_csharp/algorithm_exercises_csharp.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>net8.0</TargetFramework>
4+
<TargetFramework>net8.0;net9.0</TargetFramework>
55
<RootNamespace>algorithm_exercises_csharp</RootNamespace>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>

src/algorithm_exercises_csharp_base/algorithm_exercises_csharp_base.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>net8.0</TargetFramework>
4+
<TargetFramework>net8.0;net9.0</TargetFramework>
55
<RootNamespace>algorithm_exercises_csharp</RootNamespace>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>

src/algorithm_exercises_csharp_test/algorithm_exercises_csharp_test.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>net8.0</TargetFramework>
4+
<TargetFramework>net8.0;net9.0</TargetFramework>
55
<RootNamespace>algorithm_exercises_csharp_test</RootNamespace>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>

0 commit comments

Comments
 (0)