chore(deps): bump actions/setup-node from 3 to 4 #71
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting & Coverage | |
on: | |
push: | |
branches: | |
# dependabot/** branches are generated by https://github.com/dependabot | |
- dependabot/** | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
workflow_call: | |
jobs: | |
test: | |
name: "Linting" | |
runs-on: ubuntu-latest | |
container: | |
image: perldocker/perl-tester:latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: APT Packages | |
run: apt install -y perl-doc ctags perltidy | |
- name: Super Linter Code Base | |
uses: github/super-linter/slim@v5 | |
env: | |
FILTER_REGEX_INCLUDE: "/lib/*|/t/*|/scripts/.*.sh|updateVersion.sh" | |
DEFAULT_BRANCH: master | |
VALIDATE_PERL: true | |
VALIDATE_BASH: true | |
VALIDATE_ALL_CODEBASE: false | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
test_matrix: | |
strategy: | |
matrix: | |
perl-version: ${{ fromJson(vars.RTLDEV_MW_CI_PERL_MATRIX) }} | |
name: Test Matrix @ Perl ${{ matrix.perl-version }} | |
runs-on: ubuntu-latest | |
needs: test | |
container: | |
image: perldocker/perl-tester:${{ matrix.perl-version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: APT Packages | |
run: apt install -y perl-doc ctags perltidy | |
- name: Generate Coverage Report | |
run: | | |
cpm install -g --no-test --show-build-log-on-failure --cpanfile cpanfile | |
./scripts/coverage.sh |