File tree Expand file tree Collapse file tree 4 files changed +12
-14
lines changed Expand file tree Collapse file tree 4 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 1+ ---
12on :
23 push :
34 branches :
4- - " * "
5+ - ' master '
56 pull_request :
67 branches :
7- - " *"
8- schedule :
9- - cron : " 15 4 * * 0" # Every Sunday morning
8+ - ' *'
109 workflow_dispatch :
1110
1211name : bash
1615 name : Test Bash Scripts
1716 runs-on : ubuntu-latest
1817 container :
19- image : perldocker/perl-tester:5.30 # we need prove
18+ image : perldocker/perl-tester:5.36 # we need prove
2019 steps :
21- - uses : actions/checkout@master
20+ - uses : actions/checkout@v3
2221 - name : install Bats
2322 run : >
2423 cd /tmp &&
Original file line number Diff line number Diff line change 1+ ---
12on :
23 push :
34 branches :
4- - " * "
5+ - ' master '
56 pull_request :
67 branches :
7- - " *"
8- schedule :
9- - cron : " 15 4 * * 0" # Every Sunday morning
8+ - ' *'
109
11- name : Lint Scripts
10+ name : shellcheck
1211
1312jobs :
1413 shellcheck :
1514 name : Shellcheck
1615 runs-on : ubuntu-latest
1716 steps :
18- - uses : actions/checkout@master
17+ - uses : actions/checkout@v3
1918 - name : Run ShellCheck
2019 uses : ludeeus/action-shellcheck@master
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ BUILD_DIR=${BUILD_DIR:='build_dir'}
77cpan-install-build-deps
88build-dist
99
10- cd $BUILD_DIR
10+ cd " $BUILD_DIR "
1111
1212cpan-install-dist-deps --with-develop
1313test-dist
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ elif [[ -e Build.PL ]]; then
2525 # Module::Build does not support a build directory, so we have to find
2626 # the last created dir and use that.
2727 DIR=" $( perl -MModule::Build -e' print Module::Build->resume->dist_dir;' ) "
28- mv " $DIR " $BUILD_DIR
28+ mv " $DIR " " $BUILD_DIR "
2929fi
3030
3131exit 0
You can’t perform that action at this time.
0 commit comments