Skip to content

Commit

Permalink
Initial GitHub Actions Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
josegomezr committed Oct 26, 2023
1 parent 9b872c4 commit bb7290a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/perl-lint-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: 'Perl checks'

on:
pull_request:
push:
branches:
# we must not fix commit messages when they already reached master
- '!master'

jobs:
perl-lint-checks:
runs-on: ubuntu-latest
name: "Perltidy"
container:
image: perldocker/perl-tester:5.26
steps:
- uses: actions/checkout@v4
- run: GITHUB_ACTIONS=1 ./tools/tidyall --check-only --all --quiet
perl-critic-checks:
runs-on: ubuntu-latest
name: "Perlcritic"
container:
image: perldocker/perl-tester:5.26
steps:
- uses: actions/checkout@v4
- run: ./tools/perlcritic --stern --verbose "::warning file=%f,line=%l,col=%c,title=%m - severity %s::%e\n" --quiet lib/ xt/

0 comments on commit bb7290a

Please sign in to comment.