From b47a85eeea6261273abac1d1053ee5b774f72942 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Nov 2026 23:46:13 +0000 Subject: [PATCH] Bump actions/setup-dotnet Bumps the github-actions group with 1 update: [actions/setup-dotnet](https://github.com/actions/setup-dotnet). Updates `actions/setup-dotnet` from 6.0.0 to 6.1.0 - [Release notes](https://github.com/actions/setup-dotnet/releases) - [Commits](https://github.com/actions/setup-dotnet/compare/v6.0.0...v6.1.0) --- updated-dependencies: - dependency-name: actions/setup-dotnet dependency-version: 6.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] --- .github/workflows/build.yml | 126 ++++++++++++++++---------------- .github/workflows/sonarqube.yml | 112 ++++++++++++++-------------- 2 files changed, 119 insertions(+), 119 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 06ec9df..dfb168e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,63 +1,63 @@ -name: Build CheatEngine.Mcp - -on: - push: - branches: [main] - pull_request: - branches: [main] - workflow_dispatch: - -permissions: - contents: read - -jobs: - build: - runs-on: windows-latest - steps: - - name: Checkout - uses: actions/checkout@v7.0.1 - with: - fetch-depth: 0 - submodules: recursive - - name: Setup .NET - uses: actions/setup-dotnet@v6.0.0 - with: - dotnet-version: "10.0.403" - - name: Restore - run: dotnet restore CheatEngine.Mcp.slnx --locked-mode - - name: Build Debug - run: dotnet build CheatEngine.Mcp.slnx --no-restore - - name: Test Debug - run: dotnet test --solution CheatEngine.Mcp.slnx --no-restore --no-build --filter-not-trait Category=LiveQualification --filter-not-trait Category=NativeLua --fail-skips on - - name: Check formatting - run: | - dotnet format style CheatEngine.Mcp.slnx --no-restore --severity warn --verify-no-changes - dotnet format whitespace CheatEngine.Mcp.slnx --no-restore --verify-no-changes - - name: Build Release - run: dotnet build CheatEngine.Mcp.slnx -c Release --no-restore - - name: Test Release - run: dotnet test --solution CheatEngine.Mcp.slnx -c Release --no-restore --no-build --filter-not-trait Category=LiveQualification --filter-not-trait Category=NativeLua --fail-skips on - - name: Publish Debug distribution - run: pwsh -NoProfile -File eng/Publish.ps1 -Configuration Debug - - name: Publish Release distribution - run: pwsh -NoProfile -File eng/Publish.ps1 -Configuration Release - - name: Package release assets - run: pwsh -NoProfile -File eng/Release.ps1 -DistributionPath artifacts/dist/release - - name: Upload Debug distribution - uses: actions/upload-artifact@v7.0.2 - with: - name: CheatEngine.Mcp-debug - path: artifacts/dist/debug/** - if-no-files-found: error - - name: Upload Release distribution - uses: actions/upload-artifact@v7.0.2 - with: - name: CheatEngine.Mcp-release - path: artifacts/dist/release/** - if-no-files-found: error - - name: Upload release assets - uses: actions/upload-artifact@v7.0.2 - with: - name: CheatEngine.Mcp-release-assets - path: artifacts/releases/** - if-no-files-found: error +name: Build CheatEngine.Mcp + +on: + push: + branches: [main] + pull_request: + branches: [main] + workflow_dispatch: + +permissions: + contents: read + +jobs: + build: + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v7.0.1 + with: + fetch-depth: 0 + submodules: recursive + - name: Setup .NET + uses: actions/setup-dotnet@v6.1.0 + with: + dotnet-version: "10.0.403" + - name: Restore + run: dotnet restore CheatEngine.Mcp.slnx --locked-mode + - name: Build Debug + run: dotnet build CheatEngine.Mcp.slnx --no-restore + - name: Test Debug + run: dotnet test --solution CheatEngine.Mcp.slnx --no-restore --no-build --filter-not-trait Category=LiveQualification --filter-not-trait Category=NativeLua --fail-skips on + - name: Check formatting + run: | + dotnet format style CheatEngine.Mcp.slnx --no-restore --severity warn --verify-no-changes + dotnet format whitespace CheatEngine.Mcp.slnx --no-restore --verify-no-changes + - name: Build Release + run: dotnet build CheatEngine.Mcp.slnx -c Release --no-restore + - name: Test Release + run: dotnet test --solution CheatEngine.Mcp.slnx -c Release --no-restore --no-build --filter-not-trait Category=LiveQualification --filter-not-trait Category=NativeLua --fail-skips on + - name: Publish Debug distribution + run: pwsh -NoProfile -File eng/Publish.ps1 -Configuration Debug + - name: Publish Release distribution + run: pwsh -NoProfile -File eng/Publish.ps1 -Configuration Release + - name: Package release assets + run: pwsh -NoProfile -File eng/Release.ps1 -DistributionPath artifacts/dist/release + - name: Upload Debug distribution + uses: actions/upload-artifact@v7.0.2 + with: + name: CheatEngine.Mcp-debug + path: artifacts/dist/debug/** + if-no-files-found: error + - name: Upload Release distribution + uses: actions/upload-artifact@v7.0.2 + with: + name: CheatEngine.Mcp-release + path: artifacts/dist/release/** + if-no-files-found: error + - name: Upload release assets + uses: actions/upload-artifact@v7.0.2 + with: + name: CheatEngine.Mcp-release-assets + path: artifacts/releases/** + if-no-files-found: error diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index 5ccdc03..ff4d896 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -1,56 +1,56 @@ -name: SonarQube -on: - push: - branches: - - main - pull_request: - types: [ opened, synchronize, reopened ] -permissions: - contents: read -jobs: - build: - name: Build and analyze - # Dependabot PRs have no Actions secrets. Analyze the merged code on main. - if: github.event_name != 'pull_request' || github.event.pull_request.user.login != 'dependabot[bot]' - runs-on: windows-latest - env: - SONAR_SCANNER_VERSION: "12.0.0" - steps: - - uses: actions/checkout@v7.0.1 - with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - submodules: recursive - - name: Setup .NET - uses: actions/setup-dotnet@v6.0.0 - with: - dotnet-version: "10.0.403" - - name: Cache SonarQube Cloud packages - uses: actions/cache@v6.1.0 - with: - path: ~\.sonar\cache - key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar - - name: Cache SonarQube Cloud scanner - id: cache-sonar-scanner - uses: actions/cache@v6.1.0 - with: - path: .\.sonar\scanner - key: ${{ runner.os }}-sonar-scanner-${{ env.SONAR_SCANNER_VERSION }} - - name: Install SonarQube Cloud scanner - shell: pwsh - run: | - New-Item -Path .\.sonar\scanner -ItemType Directory -Force - dotnet tool update dotnet-sonarscanner --version "$env:SONAR_SCANNER_VERSION" --tool-path .\.sonar\scanner - - name: Build and analyze - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - shell: pwsh - run: | - $ErrorActionPreference = "Stop" - $PSNativeCommandUseErrorActionPreference = $true - - .\.sonar\scanner\dotnet-sonarscanner begin /k:"shadowninex_ce-mcp" /o:"shadowninex" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" - dotnet restore CheatEngine.Mcp.slnx --locked-mode - dotnet build CheatEngine.Mcp.slnx --no-restore --no-incremental - dotnet test --solution CheatEngine.Mcp.slnx --no-restore --no-build --filter-not-trait Category=LiveQualification --filter-not-trait Category=NativeLua --fail-skips on - .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" +name: SonarQube +on: + push: + branches: + - main + pull_request: + types: [ opened, synchronize, reopened ] +permissions: + contents: read +jobs: + build: + name: Build and analyze + # Dependabot PRs have no Actions secrets. Analyze the merged code on main. + if: github.event_name != 'pull_request' || github.event.pull_request.user.login != 'dependabot[bot]' + runs-on: windows-latest + env: + SONAR_SCANNER_VERSION: "12.0.0" + steps: + - uses: actions/checkout@v7.0.1 + with: + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + submodules: recursive + - name: Setup .NET + uses: actions/setup-dotnet@v6.1.0 + with: + dotnet-version: "10.0.403" + - name: Cache SonarQube Cloud packages + uses: actions/cache@v6.1.0 + with: + path: ~\.sonar\cache + key: ${{ runner.os }}-sonar + restore-keys: ${{ runner.os }}-sonar + - name: Cache SonarQube Cloud scanner + id: cache-sonar-scanner + uses: actions/cache@v6.1.0 + with: + path: .\.sonar\scanner + key: ${{ runner.os }}-sonar-scanner-${{ env.SONAR_SCANNER_VERSION }} + - name: Install SonarQube Cloud scanner + shell: pwsh + run: | + New-Item -Path .\.sonar\scanner -ItemType Directory -Force + dotnet tool update dotnet-sonarscanner --version "$env:SONAR_SCANNER_VERSION" --tool-path .\.sonar\scanner + - name: Build and analyze + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + shell: pwsh + run: | + $ErrorActionPreference = "Stop" + $PSNativeCommandUseErrorActionPreference = $true + + .\.sonar\scanner\dotnet-sonarscanner begin /k:"shadowninex_ce-mcp" /o:"shadowninex" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" + dotnet restore CheatEngine.Mcp.slnx --locked-mode + dotnet build CheatEngine.Mcp.slnx --no-restore --no-incremental + dotnet test --solution CheatEngine.Mcp.slnx --no-restore --no-build --filter-not-trait Category=LiveQualification --filter-not-trait Category=NativeLua --fail-skips on + .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"