Bump actions/cache from 3 to 4 #58
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: 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 |