Skip to content

Commit

Permalink
Remove TFM matrix from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamparter committed Jan 18, 2025
1 parent b593bd0 commit ed3ba74
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -30,19 +29,14 @@ 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
runs-on: ubuntu-latest

needs: build

strategy:
matrix:
target-framework: [ 'net9.0', 'net8.0', 'netstandard2.0', 'netstandard2.1' ]

steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -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
run: dotnet test --configuration Release --no-build --verbosity normal

0 comments on commit ed3ba74

Please sign in to comment.