Skip to content

Commit

Permalink
Merge 12032a8 into e638758
Browse files Browse the repository at this point in the history
  • Loading branch information
gugod committed Mar 13, 2021
2 parents e638758 + 12032a8 commit 95f1780
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,6 @@ name: CI
on: pull_request

jobs:
perlcritic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: perlcritic
uses: gugod/actions-perlcritic@fun
with:
directory: "lib script t dev-bin"

yath:
runs-on: ${{ matrix.os }}
strategy:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Lint

on: pull_request

jobs:
perlcritic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gugod/action-perlcritic@fun
with:
perlcritic_args: -p .perlcriticrc lib t scripts dev-bin
2 changes: 2 additions & 0 deletions lib/App/perlbrew.pm
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ use App::Perlbrew::Path::Root;

### global variables

my $unused_global_var;

# set $ENV{SHELL} to executable path of parent process (= shell) if it's missing
# (e.g. if this script was executed by a daemon started with "service xxx start")
# ref: https://github.com/gugod/App-perlbrew/pull/404
Expand Down

0 comments on commit 95f1780

Please sign in to comment.