Skip to content

Commit fc07e65

Browse files
committed
Standardise CPAN Actions
1 parent 5e6748f commit fc07e65

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/perltest.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
1-
# This is a basic workflow to help you get started with Actions
2-
31
name: CI
42

5-
# Controls when the action will run. Triggers the workflow on push or pull request
6-
# events but only for the master branch
73
on:
84
push:
95
branches: [ main ]
106
pull_request:
117
branches: [ main ]
128
workflow_dispatch:
139

14-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1510
jobs:
16-
build:
11+
test:
1712
runs-on: ${{ matrix.os }}
1813
strategy:
1914
matrix:
@@ -57,3 +52,10 @@ jobs:
5752
env:
5853
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5954
run: cover -test -report Coveralls
55+
56+
perlcritic:
57+
uses: PerlToolsTeam/github_workflows/.github/workflows/cpan-perlcritic.yml@main
58+
59+
complexity:
60+
uses: PerlToolsTeam/github_workflows/.github/workflows/cpan-complexity.yml@main
61+

0 commit comments

Comments
 (0)