diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index d3e6acc..b84b82e 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -26,7 +26,7 @@ env: jobs: build: name: Build and Test - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: 'Harden Runner' uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 @@ -40,6 +40,8 @@ jobs: - name: 'Setup .NET SDK' uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + with: + dotnet-version: 9.0.x - name: 'Restore external dependencies' run: dotnet restore diff --git a/.github/workflows/ci-manual-build-test-sign.yml b/.github/workflows/ci-manual-build-test-sign.yml index 4817025..d968c2f 100644 --- a/.github/workflows/ci-manual-build-test-sign.yml +++ b/.github/workflows/ci-manual-build-test-sign.yml @@ -45,6 +45,8 @@ jobs: - name: 'Setup .NET SDK' uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + with: + dotnet-version: 9.0.x - name: 'Build' run: dotnet build --configuration Release --property:PublicRelease=${{ inputs.public_release }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 7966862..6f6b5dc 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -34,7 +34,7 @@ env: jobs: analyze: name: Analyze - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: actions: read contents: read @@ -60,6 +60,8 @@ jobs: - name: 'Setup .NET SDK' uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + with: + dotnet-version: 9.0.x # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/upload-coverage-report.yml b/.github/workflows/upload-coverage-report.yml index 1072514..9a67098 100644 --- a/.github/workflows/upload-coverage-report.yml +++ b/.github/workflows/upload-coverage-report.yml @@ -10,7 +10,7 @@ on: jobs: prCoverageComment: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: pull-requests: write if: