From ed3ba74b5b281fdaaf7f28336e66a833c7576ecc Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Sat, 18 Jan 2025 13:37:47 +0000 Subject: [PATCH] Remove TFM matrix from CI --- .github/workflows/ci.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3239f37..6baa8c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,6 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - target-framework: [ 'net9.0', 'net8.0', 'netstandard2.0', 'netstandard2.1', 'net481' ] configuration: [ 'Debug', 'Release' ] steps: @@ -30,8 +29,7 @@ jobs: run: dotnet restore - name: Build - if: matrix.os == 'windows-latest' || (matrix.os == 'ubuntu-latest' && matrix.target-framework != 'net481') - run: dotnet build --framework ${{ matrix.target-framework }} --configuration ${{ matrix.configuration }} --no-restore + run: dotnet build --configuration ${{ matrix.configuration }} --no-restore test: name: Test @@ -39,10 +37,6 @@ jobs: needs: build - strategy: - matrix: - target-framework: [ 'net9.0', 'net8.0', 'netstandard2.0', 'netstandard2.1' ] - steps: - name: Checkout code uses: actions/checkout@v2 @@ -53,4 +47,4 @@ jobs: dotnet-version: '9.0.x' - name: Test - run: dotnet test --framework ${{ matrix.target-framework }} --configuration Release --no-build --verbosity normal \ No newline at end of file + run: dotnet test --configuration Release --no-build --verbosity normal \ No newline at end of file