Skip to content

Commit

Permalink
Add net 9 (#135)
Browse files Browse the repository at this point in the history
* Add net9 SDK

* Add net9 target

* Update LangVersion
  • Loading branch information
trejjam authored Nov 18, 2024
1 parent dcfb332 commit d3f1230
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
7.0.x
8.0.x
9.0.x
- uses: actions/checkout@v4
- name: Restore
run: dotnet restore --nologo src
Expand All @@ -33,10 +33,10 @@ jobs:
DOTNET_CLI_TELEMETRY_OPTOUT: 'true'
steps:
- uses: actions/checkout@v4
- name: Setup .Net 8.0.x
- name: Setup .Net 9.0.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-version: '9.0.x'
- name: Restore
run: dotnet restore --nologo src
- name: .Net Format
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
7.0.x
8.0.x
9.0.x
- uses: actions/checkout@v4
- name: Fetch all history for all tags and branches
run: git fetch --prune --unshallow
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
7.0.x
8.0.x
9.0.x
- uses: actions/checkout@v4
- name: Restore
run: dotnet restore --nologo src
Expand All @@ -34,10 +34,10 @@ jobs:
DOTNET_CLI_TELEMETRY_OPTOUT: 'true'
steps:
- uses: actions/checkout@v4
- name: Setup .Net 8.0.x
- name: Setup .Net 9.0.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-version: '9.0.x'
- name: Restore
run: dotnet restore --nologo src
- name: .Net Format
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
7.0.x
8.0.x
9.0.x
- uses: actions/checkout@v4
- name: Fetch all history for all tags and branches
run: git fetch --prune --unshallow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<LangVersion>12.0</LangVersion>
<IsPackable>false</IsPackable>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Nullable>enable</Nullable>
<LangVersion>12</LangVersion>
<LangVersion>13</LangVersion>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions src/DockerComposeBuilder/DockerComposeBuilder.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net8.0;net9.0</TargetFrameworks>
<Authors>David Dolyniuk, Jan Trejbal</Authors>
<Description>The goal of this project is to generate docker-compose literate YAML in C# using the builder design pattern</Description>
<IncludeSymbols>true</IncludeSymbols>
Expand All @@ -11,7 +11,7 @@
<PackageProjectUrl>https://github.com/aviationexam/docker-compose-builder</PackageProjectUrl>
<RepositoryUrl>https://github.com/aviationexam/docker-compose-builder</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<LangVersion>11.0</LangVersion>
<LangVersion>13</LangVersion>
<PackageTags>Docker Docker-Compose Builder</PackageTags>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Nullable>annotations</Nullable>
Expand Down

0 comments on commit d3f1230

Please sign in to comment.