-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (42 loc) · 1.05 KB
/
Copy pathtest_actions__setup.yml
File metadata and controls
50 lines (42 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: test actions/setup
on:
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
permissions:
contents: read
jobs:
default:
runs-on: ubuntu-latest
steps:
- uses: percebus/github-actions-common/.github/actions/checkout@main
- uses: ./.github/actions/setup
with:
dotnet-version: "10.x"
dotnet-version__matrix:
needs: default
strategy:
max-parallel: 6
fail-fast: false
matrix:
dotnet-version:
- "6.x"
- "7.x"
- "8.x"
# - "9.x"
- "10.x"
# - "latest" # Does NOT work
runs-on: ubuntu-latest
name: dotnet @ ${{ matrix.dotnet-version }}
steps:
- uses: percebus/github-actions-common/.github/actions/checkout@main
- uses: ./.github/actions/setup
with:
dotnet-version: ${{ matrix.dotnet-version }}