File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 11
11
FORCE_COLOR : 3
12
12
13
13
jobs :
14
+ generate-jobs :
15
+ runs-on : ubuntu-latest
16
+ outputs :
17
+ session : ${{ steps.set-matrix.outputs.session }}
18
+ steps :
19
+ - uses : actions/checkout@v3
20
+ - uses : henryiii/nox@henryiii/feat/json
21
+ - id : set-matrix
22
+ run : |
23
+ MATRIX=$(
24
+ nox --json -l | jq -c '[.[].session]'
25
+ )
26
+ echo "session=$MATRIX" | tee --append $GITHUB_OUTPUT
27
+
14
28
checks :
29
+ needs : [generate-jobs]
15
30
runs-on : ${{ matrix.runs-on }}
16
31
strategy :
17
32
fail-fast : false
18
33
matrix :
19
34
runs-on : [ubuntu-latest, macos-latest, windows-latest]
35
+ session : ${{ fromJson(needs.generate-jobs.outputs.session) }}
20
36
21
37
name : Check on ${{ matrix.runs-on }}
22
38
23
39
steps :
24
40
- uses : actions/checkout@v3
25
- - uses : wntrblm/nox@main
26
- - run : nox
41
+ - uses : wntrblm/nox@2022.11.21
42
+ - run : nox -s '${{ matrix.session }}'
You can’t perform that action at this time.
0 commit comments