Skip to content

Commit

Permalink
Upgrade GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ferki committed Aug 17, 2024
1 parent 39cee97 commit 7ae3e0f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Perl
id: perl
uses: shogo82148/actions-setup-perl@v1
- name: Get build timestamp
run: echo BUILD_TIMESTAMP="$(date +%FT%T)" >> $GITHUB_ENV
- name: Cache build dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: local
key: cache-build-deps-${{ steps.perl.outputs.perl-hash }}-${{ env.BUILD_TIMESTAMP }}
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Create build tarball
run: tar cvf build.tar -C build .
- name: Upload build results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build.tar
path: build.tar
Expand All @@ -53,9 +53,9 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download build results
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build.tar
- name: Extract tarball
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:

steps:
- name: Download build results
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build.tar
- name: Extract tarball
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:

steps:
- name: Download build results
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build.tar
- name: Extract tarball
Expand All @@ -148,6 +148,6 @@ jobs:
install-modules-with: cpm
- name: Get number of processors
id: cores
uses: SimenB/github-actions-cpu-cores@v1
uses: SimenB/github-actions-cpu-cores@v2
- name: Run tests
run: prove --timer --lib --recurse --jobs ${{ steps.cores.outputs.count }} --shuffle t

0 comments on commit 7ae3e0f

Please sign in to comment.