Skip to content

Commit 4f17cbd

Browse files
authored
chore: update GitHub Actions to use Ubuntu 22.04 with dotnet v6 (#402)
* chore: update GitHub Actions to use Ubuntu 22.04 with dotnet v6 * setup .net7 for benchmark
1 parent 2eae829 commit 4f17cbd

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/benchmark.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@ permissions:
88
jobs:
99
benchmark:
1010
name: Performance regression check
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1212
if: github.repository == 'fluentassertions/fluentassertions.analyzers'
1313
steps:
1414
- uses: actions/checkout@v4
1515
- name: Setup .NET
1616
uses: actions/setup-dotnet@v4
1717
with:
1818
dotnet-version: '6.x'
19+
- name: Setup .NET
20+
uses: actions/setup-dotnet@v4
21+
with:
22+
dotnet-version: '7.x'
1923
- name: Run benchmark
2024
run: cd src/FluentAssertions.Analyzers.BenchmarkTests && dotnet run -c Release --exporters json --filter '*'
2125

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build:
1111
strategy:
1212
matrix:
13-
os: [ubuntu-latest, windows-latest, macos-latest]
13+
os: [ubuntu-22.04, windows-2022, macos-14]
1414
config: [Debug, Release]
1515
runs-on: ${{ matrix.os }}
1616
env:

.github/workflows/integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build:
1111
strategy:
1212
matrix:
13-
os: [ubuntu-latest, windows-latest, macos-latest]
13+
os: [ubuntu-22.04, windows-2022, macos-14]
1414
runs-on: ${{ matrix.os }}
1515
env:
1616
NUGET_CERT_REVOCATION_MODE: offline

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
publish:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04
1111
steps:
1212
- name: Checkout code
1313
uses: actions/checkout@v4

0 commit comments

Comments
 (0)