Skip to content

Commit

Permalink
restrict csharp to ubuntu+* and {macos,windows}+6
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Jun 26, 2024
1 parent 4caeb41 commit 0db1304
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,28 +193,21 @@ jobs:
fail-fast: false
matrix:
net_version: [5, 6, 7, 8]
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]
include:
- net_version: 8
- net_version: 6
os: macos-latest
- net_version: 8
- net_version: 6
os: macos-13
- net_version: 6
os: windows-latest
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3

- name: Setup .NET ${{ matrix.net_version }}
uses: actions/setup-dotnet@v3
if: ${{ matrix.version > 6 }}
with:
dotnet-version: ${{ matrix.net_version }},6
cache: true
cache-dependency-path: 'csharp/*/packages.lock.json'

- name: Setup .NET ${{ matrix.net_version }}
uses: actions/setup-dotnet@v3
if: ${{ matrix.version <= 6 }}
with:
dotnet-version: ${{ matrix.net_version }}
cache: true
Expand All @@ -240,4 +233,4 @@ jobs:

- name: Run Linter
run: make cslint

0 comments on commit 0db1304

Please sign in to comment.