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