-
Notifications
You must be signed in to change notification settings - Fork 31
36 lines (29 loc) · 906 Bytes
/
blank.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: CI
# Trigger the workflow on push or pull request events but only for the master branch
"on":
push:
branches: [master]
pull_request:
branches: [master]
jobs:
# This workflow contains a single job called "build"
build:
# Run on the ubuntu-latest runner type
runs-on: ubuntu-latest
steps:
# Checks out repository under $GITHUB_WORKSPACE
- name: Check out repository
uses: actions/checkout@v4
- name: Setup Perl environment
uses: shogo82148/[email protected]
- name: Restore install dependencies from cache
uses: actions/cache@v4
with:
path: /opt/hostedtoolcache/perl
key: builddeps-${{ hashFiles('**/Build.PL') }}
restore-keys: |
builddeps-
- name: Install dependencies
run: cpanm --installdeps .
- name: Run tests
run: prove -lv t