Skip to content

Commit

Permalink
[github] update checkout/cache actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mauke committed May 30, 2024
1 parent d1fe682 commit 355df89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ jobs:
locallib: xlocal

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: "Set up perl"
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl-version }}
- name: "Create perl fingerprint file"
run: perl -MConfig -wE 'say for sprintf(q{%vd}, $^V), Config::bincompat_options' > perl-fingerprint
- name: "Cache CPAN fragments"
uses: actions/cache@v3
uses: actions/cache@v4
with:
enableCrossOsArchive: true
path: ${{ env.cachepan }}
key: cpan-dists-${{ github.run_id }}
restore-keys: |
cpan-dists-
- name: "Cache local dependencies"
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.locallib }}
key: xlocal-lib-${{ matrix.os }}-${{ hashFiles('perl-fingerprint', 'Makefile_PL_settings*.plx') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ jobs:
locallib: xlocal

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: "Set up perl"
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl-version }}
- name: "Create perl fingerprint file"
run: perl -MConfig -wE 'say for sprintf(q{%vd}, $^V), Config::bincompat_options' > perl-fingerprint
- name: "Cache CPAN fragments"
uses: actions/cache@v3
uses: actions/cache@v4
with:
enableCrossOsArchive: true
path: ${{ env.cachepan }}
key: cpan-dists-${{ github.run_id }}
restore-keys: |
cpan-dists-
- name: "Cache local dependencies"
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.locallib }}
key: xlocal-lib-${{ matrix.os }}-${{ hashFiles('perl-fingerprint', 'Makefile_PL_settings*.plx') }}
Expand Down

0 comments on commit 355df89

Please sign in to comment.