Skip to content

Commit

Permalink
Fix Github actions setup
Browse files Browse the repository at this point in the history
Add workaround for git diff issue: actions/checkout#766

Fix indentation that perltidy complains about

Use Debian tagged images for the the perl images
  • Loading branch information
nicomen committed Jun 19, 2024
1 parent 9839a51 commit a138ea2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ 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:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/perltidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion lib/Mojolicious/Plugin/AssetPack.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}
Expand Down

0 comments on commit a138ea2

Please sign in to comment.