Skip to content

Commit

Permalink
Standardise CPAN Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Jan 22, 2024
1 parent 190692a commit 2be77ba
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/perltest.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
<<<<<<< Updated upstream
build:
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -29,3 +25,19 @@ jobs:
- run: perl -V
- run: cpanm --installdeps .
- run: prove -lv t
=======
test:
uses: PerlToolsTeam/github_workflows/.github/workflows/cpan-test.yml@main
with:
os: "[ 'ubuntu-latest', 'macos-latest' ]"
perl_version: "[ 'latest' ]"

coverage:
uses: PerlToolsTeam/github_workflows/.github/workflows/cpan-coverage.yml@main

perlcritic:
uses: PerlToolsTeam/github_workflows/.github/workflows/cpan-perlcritic.yml@main

complexity:
uses: PerlToolsTeam/github_workflows/.github/workflows/cpan-complexity.yml@main
>>>>>>> Stashed changes

0 comments on commit 2be77ba

Please sign in to comment.