From 54cfef87a188d8400a9861ae027f757bc27034f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabr=C3=ADcio=20Godoy?= Date: Sun, 13 Oct 2024 13:16:06 -0300 Subject: [PATCH] ci: Install both .NET 6 and 8 (#344) --- .github/workflows/codeql.yml | 3 +++ .github/workflows/dotnet.yml | 3 +++ .github/workflows/mutation-test.yml | 5 ++++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index a88134d..0962c5f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -70,6 +70,9 @@ jobs: - name: 🧰 Setup .NET uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1 with: + dotnet-version: | + 6.x + 8.x global-json-file: global.json if: matrix.language == 'csharp' diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 6f29cfd..230ea8e 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -50,6 +50,9 @@ jobs: - name: 🧰 Setup .NET uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1 with: + dotnet-version: | + 6.x + 8.x global-json-file: global.json - name: 🗃️ Setup NuGet cache diff --git a/.github/workflows/mutation-test.yml b/.github/workflows/mutation-test.yml index 9fc2280..f99a0fe 100644 --- a/.github/workflows/mutation-test.yml +++ b/.github/workflows/mutation-test.yml @@ -49,7 +49,10 @@ jobs: - name: 🧰 Setup .NET uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1 with: - dotnet-version: 8.0.x + dotnet-version: | + 6.x + 8.x + global-json-file: global.json - name: 🗃️ Setup NuGet cache uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2