Skip to content

Commit

Permalink
fix: Use net9.0 to build projects
Browse files Browse the repository at this point in the history
  • Loading branch information
HofmeisterAn committed Nov 29, 2024
1 parent 6a13dad commit c877a5d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,18 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
frameworks: [
{ framework: "net8.0", version: "8.0.x" },
{ framework: "net9.0", version: "9.0.x" },
]
framework:
- net8.0
- net9.0
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.frameworks.version }}
dotnet-version: 9.x
- name: Build
run: dotnet build -c Release --framework ${{ matrix.frameworks.framework }}
run: dotnet build -c Release --framework ${{ matrix.framework }}
- name: Test
run: dotnet test -c Release --framework ${{ matrix.frameworks.framework }} --no-build
run: dotnet test -c Release --framework ${{ matrix.framework }} --no-build
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
dotnet-version: 9.x
- name: Install NBGV tool
run: dotnet tool install --tool-path . nbgv
- name: Set Version
Expand Down
2 changes: 0 additions & 2 deletions src/Docker.DotNet/Properties/InternalVisibleTo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("Docker.DotNet.JsonSerializer8.Tests" + StrongNamePublicKeys.DockerDotNetPublicKey)]
[assembly: InternalsVisibleTo("Docker.DotNet.JsonSerializer9.Tests" + StrongNamePublicKeys.DockerDotNetPublicKey)]
[assembly: InternalsVisibleTo("Docker.DotNet.Tests" + StrongNamePublicKeys.DockerDotNetPublicKey)]
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "3.126.0",
"version": "3.126.1",
"nugetPackageVersion": {
"semVer": 2
},
Expand Down

0 comments on commit c877a5d

Please sign in to comment.