Skip to content

run tidyall -a --refresh-cache after upgrading tidy #5

run tidyall -a --refresh-cache after upgrading tidy

run tidyall -a --refresh-cache after upgrading tidy #5

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
# schedule:
# - cron: '42 5 * * *'
jobs:
test:
strategy:
fail-fast: false
matrix:
runner: [ubuntu-latest]
perl: [ '5.36' ]
runs-on: ${{matrix.runner}}
name: OS ${{matrix.runner}} Perl ${{matrix.perl}}
steps:
- uses: actions/checkout@v4
- name: Set up perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
distribution: 'default'
- name: Show Perl Version
run: |
perl -v
- name: Install Modules
run: |
cpanm -v
cpanm --installdeps --with-develop --notest .
# --with-configure
# --with-recommends, --with-suggests
- name: Install Extra Modules
run: |
cpanm --notest Test::Version Test::Code::TidyAll Test::Perl::Critic
- name: Show Errors on Ubuntu
if: ${{ failure() && startsWith( matrix.runner, 'ubuntu-')}}
run: |
cat /home/runner/.cpanm/work/*/build.log
- name: Run tests
env:
AUTHOR_TESTING: 1
RELEASE_TESTING: 1
run: |
perl Makefile.PL
make
make test