Skip to content

Commit 0736be9

Browse files
authored
Merge pull request #13 from perl-actions/oalders/update-gh-actions
Update GH Actions
2 parents ba4bd85 + 546d058 commit 0736be9

File tree

4 files changed

+12
-14
lines changed

4 files changed

+12
-14
lines changed

.github/workflows/compile.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1+
---
12
on:
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

1211
name: bash
@@ -16,9 +15,9 @@ jobs:
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 &&

.github/workflows/shellcheck.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
1+
---
12
on:
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

1312
jobs:
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

bin/auto-build-and-test-dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ BUILD_DIR=${BUILD_DIR:='build_dir'}
77
cpan-install-build-deps
88
build-dist
99

10-
cd $BUILD_DIR
10+
cd "$BUILD_DIR"
1111

1212
cpan-install-dist-deps --with-develop
1313
test-dist

bin/build-dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"
2929
fi
3030

3131
exit 0

0 commit comments

Comments
 (0)