Skip to content

Commit

Permalink
Fix perltidy in GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Nov 10, 2023
1 parent 1f847e3 commit 1d68a04
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/perltidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
image: perl:5.32
steps:
- uses: actions/checkout@v2
- name: Fix git permissions
# work around https://github.com/actions/checkout/issues/766
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: perl -V
run: perl -V
- name: Install dependencies
Expand All @@ -22,6 +25,6 @@ jobs:
- name: Run perltidy
shell: bash
run: |
shopt -s extglob globstar nullglob
export GLOBIGNORE=t/lib/MinionTest/SyntaxErrorTestTask.pm
shopt -s extglob globstar nullglob
perltidy --pro=.../.perltidyrc -b -bext='/' **/*.p[lm] **/*.t && git diff --exit-code

0 comments on commit 1d68a04

Please sign in to comment.