Skip to content

Commit

Permalink
[CI] it looks like git has to be inside container
Browse files Browse the repository at this point in the history
... so that action/checkout@v2 could do a `git clone` instead of
downloading the repo archive.

ref: actions/checkout#175 (comment)
  • Loading branch information
gugod committed Jun 3, 2023
1 parent 072eaa6 commit 85d39ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -8,12 +8,14 @@ jobs:
container:
image: perl:5.32
steps:
- name: install dependencies
run: |
apt install -y git
cpanm --notest --quiet App::PerlNitpick
- uses: actions/checkout@v2
- uses: gugod/action-perlcritic@fun
with:
directory: "lib script t dev-bin"
- name: install perlnitpick
run: cpanm --notest --quiet App::PerlNitpick
- name: run perlnitpick
run: perlnitpick --inplace --rules=RemoveTrailingWhitespace,RemoveUnusedVariables,RemoveUnusedInclude,RemoveUnusedImport .
- name: suggester
Expand Down

0 comments on commit 85d39ee

Please sign in to comment.