diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index e9bbf3c..d6ad1ab 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -12,16 +12,16 @@ jobs: strategy: matrix: perl-version: - - '5.16' - - '5.18' - - '5.20' - - '5.22' - - '5.30' - - '5.32' + - '5.16-buster' + - '5.18-buster' + - '5.20-buster' + - '5.22-buster' + - '5.30-bullseye' + - '5.32-bullseye' container: image: perl:${{ matrix.perl-version }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: perl -V run: perl -V - name: Fix ExtUtils::MakeMaker (for Perl 5.16 and 5.18) diff --git a/.github/workflows/perltidy.yml b/.github/workflows/perltidy.yml index 7bf2d09..bb75f0a 100644 --- a/.github/workflows/perltidy.yml +++ b/.github/workflows/perltidy.yml @@ -12,7 +12,7 @@ jobs: container: image: perl:5.32 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: perl -V run: perl -V - name: Install dependencies @@ -23,4 +23,5 @@ jobs: shell: bash run: | shopt -s extglob globstar nullglob + git config --global --add safe.directory "$GITHUB_WORKSPACE" perltidy --pro=.../.perltidyrc -b -bext='/' **/*.p[lm] **/*.t && git diff --exit-code diff --git a/lib/Mojolicious/Plugin/AssetPack.pm b/lib/Mojolicious/Plugin/AssetPack.pm index 4453106..18bbe92 100644 --- a/lib/Mojolicious/Plugin/AssetPack.pm +++ b/lib/Mojolicious/Plugin/AssetPack.pm @@ -192,7 +192,7 @@ sub _render_tags { return Mojo::ByteStream->new( join "\n", - map { $_->tag_for->($_, $c, \%args, @attrs) } + map { $_->tag_for->($_, $c, \%args, @attrs) } grep { !$_->isa('Mojolicious::Plugin::AssetPack::Asset::Null') } @$assets ); }