From 939dfb9f457ca84e3f8b3ee68728a468d7949ba5 Mon Sep 17 00:00:00 2001 From: Nathan Tripp Date: Wed, 26 Mar 2025 11:36:00 -0600 Subject: [PATCH 1/2] Add support for .NET 9.0 in project file Updated TargetFrameworks in MiniExcelLibs.csproj to include 'net9.0', expanding support beyond net45, netstandard2.0, and net8.0. --- src/MiniExcel/MiniExcelLibs.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MiniExcel/MiniExcelLibs.csproj b/src/MiniExcel/MiniExcelLibs.csproj index 7f3240b4..e749e802 100644 --- a/src/MiniExcel/MiniExcelLibs.csproj +++ b/src/MiniExcel/MiniExcelLibs.csproj @@ -1,6 +1,6 @@  - net45;netstandard2.0;net8.0; + net45;netstandard2.0;net8.0;net9.0 1.39.0 From 07e788804a6e2eeb1209bf07710548f90e12bbf2 Mon Sep 17 00:00:00 2001 From: Nathan Tripp Date: Fri, 28 Mar 2025 08:02:02 -0600 Subject: [PATCH 2/2] Update workflows for .NET 9 - Added setup for .NET 9.0.x in `codeql-analysis.yml`. - Added setup for .NET 9.0.x in `dotnet.yml`. --- .github/workflows/codeql-analysis.yml | 5 +++++ .github/workflows/dotnet.yml | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index cc178d01..86ec56e9 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,6 +39,11 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + + - name: Setup .NET 9 + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 9.0.x # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index c643e47a..94859672 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -13,10 +13,14 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup .NET + - name: Setup .NET 8 uses: actions/setup-dotnet@v1 with: dotnet-version: 8.0.x + - name: Setup .NET 9 + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 9.0.x - name: Restore dependencies run: dotnet restore env: