From 2c82383259f765db7e65711efc9f8a2499dde438 Mon Sep 17 00:00:00 2001 From: Smaug123 <3138005+Smaug123@users.noreply.github.com> Date: Mon, 19 Aug 2024 21:46:05 +0100 Subject: [PATCH] Bump SDK --- .github/workflows/dotnet.yaml | 16 ++++++---------- .../HeterogeneousCollections.Test.fsproj | 6 +++--- global.json | 6 ++++++ 3 files changed, 15 insertions(+), 13 deletions(-) create mode 100644 global.json diff --git a/.github/workflows/dotnet.yaml b/.github/workflows/dotnet.yaml index 83ecb64..d4dd597 100644 --- a/.github/workflows/dotnet.yaml +++ b/.github/workflows/dotnet.yaml @@ -20,11 +20,7 @@ jobs: - macOS-latest - windows-latest dotnet: - - { sdk: 6.0.x, framework: net6.0 } - { sdk: 8.0.x, framework: net8.0 } - include: - - os: windows-latest - dotnet: { sdk: 6.0.x, framework: net481 } runs-on: ${{matrix.os}} @@ -48,10 +44,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Setup .NET SDK v6.0.x + - name: Setup .NET SDK v8.0.x uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Prepare .NET tools run: dotnet tool restore - name: Run Fantomas @@ -64,10 +60,10 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Setup .NET SDK v6.0.x + - name: Setup .NET SDK v8.0.x uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Prepare .NET tools run: dotnet tool restore - name: Prepare analyzers @@ -88,10 +84,10 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 # so that NerdBank.GitVersioning has access to history - - name: Setup .NET SDK v6.0.x + - name: Setup .NET SDK v8.0.x uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Build run: dotnet build HeterogeneousCollections/HeterogeneousCollections.fsproj --configuration Release - name: Pack diff --git a/HeterogeneousCollections.Test/HeterogeneousCollections.Test.fsproj b/HeterogeneousCollections.Test/HeterogeneousCollections.Test.fsproj index 2527a8e..1399ea8 100644 --- a/HeterogeneousCollections.Test/HeterogeneousCollections.Test.fsproj +++ b/HeterogeneousCollections.Test/HeterogeneousCollections.Test.fsproj @@ -1,4 +1,4 @@ - + net6.0;net8.0 @@ -21,10 +21,10 @@ - + - + diff --git a/global.json b/global.json new file mode 100644 index 0000000..610260c --- /dev/null +++ b/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "8.0.400", + "rollForward": "latestMajor" + } +}