diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 421c89bc..50166d0a 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -8,7 +8,7 @@ permissions: jobs: benchmark: name: Performance regression check - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.repository == 'fluentassertions/fluentassertions.analyzers' steps: - uses: actions/checkout@v4 @@ -16,6 +16,10 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: '6.x' + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '7.x' - name: Run benchmark run: cd src/FluentAssertions.Analyzers.BenchmarkTests && dotnet run -c Release --exporters json --filter '*' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2085da93..ab41ad8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: build: strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-22.04, windows-2022, macos-14] config: [Debug, Release] runs-on: ${{ matrix.os }} env: diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index b34e924a..9fbf3012 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -10,7 +10,7 @@ jobs: build: strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-22.04, windows-2022, macos-14] runs-on: ${{ matrix.os }} env: NUGET_CERT_REVOCATION_MODE: offline diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce5f0afd..99d44448 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: jobs: publish: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v4