CI: Workaround sporadic segfaults with retries #155
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: perltidy | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| tags-ignore: | |
| - '*' | |
| pull_request: | |
| jobs: | |
| perltidy: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: perl:5.32 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: perl -V | |
| run: perl -V | |
| - name: Install dependencies | |
| run: cpanm -n Perl::Tidy | |
| - name: perltidy --version | |
| run: perltidy --version | |
| - name: Run perltidy | |
| shell: bash | |
| run: | | |
| git config --global --add safe.directory $PWD | |
| shopt -s extglob globstar nullglob | |
| perltidy --pro=.../.perltidyrc -b -bext='/' **/*.p[lm] **/*.t && git diff --exit-code |