From a264edc26fbd353f4aa794f2e855e1c7bd251139 Mon Sep 17 00:00:00 2001 From: Hayden McAfee Date: Tue, 7 Jan 2025 15:08:35 -0800 Subject: [PATCH 1/2] Update target framework and packages to .NET 9 --- src/Api/Api.csproj | 6 +++--- src/CatalogSync/CatalogSync.csproj | 8 ++++---- .../Database.Migrations.Npgsql.csproj | 4 ++-- .../Database.Migrations.Sqlite.csproj | 4 ++-- src/Database/Database.csproj | 8 ++++---- src/Scraper/Scraper.csproj | 6 +++--- src/Tests/Tests.csproj | 14 +++++++------- 7 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/Api/Api.csproj b/src/Api/Api.csproj index 14b53b9..6ff8f20 100644 --- a/src/Api/Api.csproj +++ b/src/Api/Api.csproj @@ -1,12 +1,12 @@ - net8.0 + net9.0 - - + + diff --git a/src/CatalogSync/CatalogSync.csproj b/src/CatalogSync/CatalogSync.csproj index 61eb1a6..7f7042c 100644 --- a/src/CatalogSync/CatalogSync.csproj +++ b/src/CatalogSync/CatalogSync.csproj @@ -9,14 +9,14 @@ - - - + + + Exe - net8.0 + net9.0 diff --git a/src/Database.Migrations.Npgsql/Database.Migrations.Npgsql.csproj b/src/Database.Migrations.Npgsql/Database.Migrations.Npgsql.csproj index 42233ca..ad0af27 100644 --- a/src/Database.Migrations.Npgsql/Database.Migrations.Npgsql.csproj +++ b/src/Database.Migrations.Npgsql/Database.Migrations.Npgsql.csproj @@ -1,7 +1,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all @@ -12,7 +12,7 @@ - net8.0 + net9.0 diff --git a/src/Database.Migrations.Sqlite/Database.Migrations.Sqlite.csproj b/src/Database.Migrations.Sqlite/Database.Migrations.Sqlite.csproj index 42233ca..ad0af27 100644 --- a/src/Database.Migrations.Sqlite/Database.Migrations.Sqlite.csproj +++ b/src/Database.Migrations.Sqlite/Database.Migrations.Sqlite.csproj @@ -1,7 +1,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all @@ -12,7 +12,7 @@ - net8.0 + net9.0 diff --git a/src/Database/Database.csproj b/src/Database/Database.csproj index 63dfc79..c711ea9 100644 --- a/src/Database/Database.csproj +++ b/src/Database/Database.csproj @@ -1,16 +1,16 @@ - net8.0 + net9.0 - + runtime; build; native; contentfiles; analyzers; buildtransitive all - - + + diff --git a/src/Scraper/Scraper.csproj b/src/Scraper/Scraper.csproj index d4975b4..014b61e 100644 --- a/src/Scraper/Scraper.csproj +++ b/src/Scraper/Scraper.csproj @@ -1,12 +1,12 @@ - net8.0 + net9.0 - - + + diff --git a/src/Tests/Tests.csproj b/src/Tests/Tests.csproj index 689ca20..779fb99 100644 --- a/src/Tests/Tests.csproj +++ b/src/Tests/Tests.csproj @@ -1,22 +1,22 @@ - net8.0 + net9.0 false - - - - - + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all From da759c994e69e91b51b914a4de12997807ca8f27 Mon Sep 17 00:00:00 2001 From: Hayden McAfee Date: Tue, 7 Jan 2025 15:09:43 -0800 Subject: [PATCH 2/2] Update GHA to use .NET 9 --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4b798b5..0ee3d0d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,8 +15,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: '8' - dotnet-quality: 'preview' # Change to 'ga' once .NET 8 release + dotnet-version: '9' - name: Clone repository uses: actions/checkout@v4 - name: Restore dependencies