From 6f721234e8bb7db6229d6bb4152e71a995945d69 Mon Sep 17 00:00:00 2001 From: Lucas Pedroza Date: Wed, 9 Oct 2024 16:59:51 +0200 Subject: [PATCH] fix: peg gh action to ubuntu 22.04 --- .github/workflows/6.0.x/global.json | 6 ++++++ .github/workflows/8.0.x/global.json | 6 ++++++ .github/workflows/pr_validate.yml | 5 ++--- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/6.0.x/global.json create mode 100644 .github/workflows/8.0.x/global.json diff --git a/.github/workflows/6.0.x/global.json b/.github/workflows/6.0.x/global.json new file mode 100644 index 00000000..2a10edb1 --- /dev/null +++ b/.github/workflows/6.0.x/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "6.0.x", + "rollForward": "latestFeature" + } +} diff --git a/.github/workflows/8.0.x/global.json b/.github/workflows/8.0.x/global.json new file mode 100644 index 00000000..619ea7d9 --- /dev/null +++ b/.github/workflows/8.0.x/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "8.0.x", + "rollForward": "latestFeature" + } +} diff --git a/.github/workflows/pr_validate.yml b/.github/workflows/pr_validate.yml index 66b1ea53..3feff46d 100644 --- a/.github/workflows/pr_validate.yml +++ b/.github/workflows/pr_validate.yml @@ -9,7 +9,7 @@ on: jobs: dotnet-test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: dotnet-version: [ '6.0.x', '8.0.x' ] @@ -23,10 +23,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup dotnet ${{ matrix.dotnet-version }} - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ matrix.dotnet-version }} - - name: Restore dependencies run: dotnet restore - name: Build