File tree Expand file tree Collapse file tree 2 files changed +27
-5
lines changed Expand file tree Collapse file tree 2 files changed +27
-5
lines changed Original file line number Diff line number Diff line change
1
+ name : Check nushell scripts
2
+
3
+ on :
4
+ workflow_call :
5
+ nushell_version :
6
+ config-path :
7
+ required : true
8
+ type : string
9
+ nuunit_version :
10
+ config-path :
11
+ required : true
12
+ type : string
13
+
14
+ jobs :
15
+ basic-usage :
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+
19
+ - uses : hustcer/setup-nu@main
20
+ with :
21
+ version : ${{ inputs.nushell_version }}
22
+ - run : |
23
+ nu -c 'http get https://raw.githubusercontent.com/NonlinearFruit/nuUnit/${{ inputs.nuunit_version }}/nuunit.nu | save -f nuunit.nu'
24
+ nu nuunit.nu
Original file line number Diff line number Diff line change 6
6
basic-usage :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
-
10
- - uses : hustcer/setup-nu@main
9
+ - uses : NonlinearFruit/nuUnit/.github/workflows/nushell-tests.yml@master
11
10
with :
12
- version : " *"
13
- - run : |
14
- nu nuunit.nu
11
+ nushell_version : " *"
12
+ nuunit_version : " master"
You can’t perform that action at this time.
0 commit comments