From 2be77ba831bda17ae7cf88384113865e8a8c4e90 Mon Sep 17 00:00:00 2001 From: Dave Cross Date: Mon, 22 Jan 2024 20:19:43 +0000 Subject: [PATCH] Standardise CPAN Actions --- .github/workflows/perltest.yml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/perltest.yml b/.github/workflows/perltest.yml index 110a6c3..6c9fa99 100644 --- a/.github/workflows/perltest.yml +++ b/.github/workflows/perltest.yml @@ -1,9 +1,5 @@ -# 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 ] @@ -11,8 +7,8 @@ on: 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: @@ -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