From 37396efbb9c57692723d79b06c9b785d727f7743 Mon Sep 17 00:00:00 2001 From: Martijn Bodeman <11424653+skwasjer@users.noreply.github.com> Date: Wed, 18 Dec 2024 02:26:11 +0100 Subject: [PATCH] ci: use pinned Ubuntu 22.04 image for tests (fixes ICU missing and mono not being available) (#252) --- .github/workflows/main.yml | 8 ++++---- .github/workflows/sonarcloud.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 30ab462..0c53c41 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -97,9 +97,9 @@ jobs: strategy: matrix: os: - - ubuntu-latest + - ubuntu-22.04 - windows-latest - - macos-13 + - macos-13 fail-fast: false runs-on: ${{ matrix.os }} steps: @@ -121,9 +121,9 @@ jobs: # Run all tests - run: dotnet test --no-restore --no-build -c Release -- xUnit.AppDomain=denied - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-22.04' - run: dotnet test --no-restore --no-build -c Release --filter Category!=PublicApi -- xUnit.AppDomain=denied - if: matrix.os != 'ubuntu-latest' + if: matrix.os != 'ubuntu-22.04' pack: needs: diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index b5768c7..666edc9 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -30,7 +30,7 @@ jobs: analysis: needs: authorize - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/setup-dotnet@v4 with: