From 50a313a1e865f9c2cf3e755d6e3006ea7a565cf8 Mon Sep 17 00:00:00 2001 From: annonator Date: Thu, 28 Dec 2023 17:15:07 +0100 Subject: [PATCH 1/2] Updated runtime and projects to .NET8 --- .github/workflows/dotnet.yml | 2 +- .../PlayFabBuddy.Infrastructure.csproj | 2 +- src/PlayFabBuddy.Lib/PlayFabBuddy.Lib.csproj | 2 +- .../PlayFabBuddy.Infrastructure.Tests.csproj | 2 +- .../PlayFabBuddy.Lib.Tests/PlayFabBuddy.Lib.Tests.csproj | 2 +- src/PlayFabBuddy.UI/PlayFabBuddy.UI.csproj | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 8ea086a..b17d7bd 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -26,7 +26,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/src/PlayFabBuddy.Infrastructure/PlayFabBuddy.Infrastructure.csproj b/src/PlayFabBuddy.Infrastructure/PlayFabBuddy.Infrastructure.csproj index d23ae88..ba78468 100644 --- a/src/PlayFabBuddy.Infrastructure/PlayFabBuddy.Infrastructure.csproj +++ b/src/PlayFabBuddy.Infrastructure/PlayFabBuddy.Infrastructure.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable diff --git a/src/PlayFabBuddy.Lib/PlayFabBuddy.Lib.csproj b/src/PlayFabBuddy.Lib/PlayFabBuddy.Lib.csproj index b72edee..928e8a7 100644 --- a/src/PlayFabBuddy.Lib/PlayFabBuddy.Lib.csproj +++ b/src/PlayFabBuddy.Lib/PlayFabBuddy.Lib.csproj @@ -1,7 +1,7 @@  - net7.0 + net8.0 enable enable $(MSBuildProjectName.Replace(" ", "_")) diff --git a/src/PlayFabBuddy.Tests/PlayFabBuddy.Infrastructure.Tests/PlayFabBuddy.Infrastructure.Tests.csproj b/src/PlayFabBuddy.Tests/PlayFabBuddy.Infrastructure.Tests/PlayFabBuddy.Infrastructure.Tests.csproj index 4fb92cc..763c0dc 100644 --- a/src/PlayFabBuddy.Tests/PlayFabBuddy.Infrastructure.Tests/PlayFabBuddy.Infrastructure.Tests.csproj +++ b/src/PlayFabBuddy.Tests/PlayFabBuddy.Infrastructure.Tests/PlayFabBuddy.Infrastructure.Tests.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable false diff --git a/src/PlayFabBuddy.Tests/PlayFabBuddy.Lib.Tests/PlayFabBuddy.Lib.Tests.csproj b/src/PlayFabBuddy.Tests/PlayFabBuddy.Lib.Tests/PlayFabBuddy.Lib.Tests.csproj index 4b65ab5..e7dd27b 100644 --- a/src/PlayFabBuddy.Tests/PlayFabBuddy.Lib.Tests/PlayFabBuddy.Lib.Tests.csproj +++ b/src/PlayFabBuddy.Tests/PlayFabBuddy.Lib.Tests/PlayFabBuddy.Lib.Tests.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable false diff --git a/src/PlayFabBuddy.UI/PlayFabBuddy.UI.csproj b/src/PlayFabBuddy.UI/PlayFabBuddy.UI.csproj index 60f6c97..0c45c50 100644 --- a/src/PlayFabBuddy.UI/PlayFabBuddy.UI.csproj +++ b/src/PlayFabBuddy.UI/PlayFabBuddy.UI.csproj @@ -1,7 +1,7 @@  - net7.0 + net8.0 enable enable From 10aa50e80a4533e904d898606150b971ab7ad916 Mon Sep 17 00:00:00 2001 From: annonator Date: Thu, 28 Dec 2023 17:18:28 +0100 Subject: [PATCH 2/2] removed codeql runs, as they are currently obsolete --- .github/workflows/codeql-analysis.yml | 77 --------------------------- 1 file changed, 77 deletions(-) delete mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml deleted file mode 100644 index 8c0c38b..0000000 --- a/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,77 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL" - -on: - push: - branches: [ main ] - paths-ignore: - - '.github/**' - pull_request: - # The branches below must be a subset of the branches above - branches: [ main ] - schedule: - - cron: '45 2 * * 5' - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: [ 'csharp' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] - # Learn more about CodeQL language support at https://git.io/codeql-language-support - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v1 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - # queries: ./path/to/local/query, your-org/your-repo/queries@main - - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Set up .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '7.x' - - - name: Autobuild - uses: github/codeql-action/autobuild@v1 - - # ℹ️ Command-line programs to run using the OS shell. - # 📚 https://git.io/JvXDl - - # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language - - #- run: | - # make bootstrap - # make release - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1