Skip to content

Commit

Permalink
chore: Update actions to v4 for transition to Node.js 20
Browse files Browse the repository at this point in the history
  • Loading branch information
zmughal committed Sep 6, 2024
1 parent e953d3f commit 24762df
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
continue-on-error: true
if: ${{ always() }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./github-actions/irc-notifications
with:
target-notifications: true
Expand All @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run yamllint on actions
run: |
yamllint -d relaxed --format github github-actions
Expand All @@ -35,7 +35,7 @@ jobs:
if: ${{ always() }}
needs: [ 'ci' ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./github-actions/irc-notifications
with:
target-build-status: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
continue-on-error: true
if: ${{ always() }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./github-actions/irc-notifications
with:
target-notifications: true
4 changes: 2 additions & 2 deletions github-actions/build-dist/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
steps:
- uses: shogo82148/actions-setup-perl@v1
- name: Cache ~/perl5
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ runner.os }}-dist-locallib
path: ~/perl5
Expand Down Expand Up @@ -129,7 +129,7 @@ runs:
set_output('min-perl-version', $dotted);
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: ./build-dir
2 changes: 1 addition & 1 deletion github-actions/irc-notifications/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ runs:
steps:
# actions/checkout of the repo is used by both targets
# (target-notifications, target-build-status).
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: zmughal-github-actions/events-to-irc@main
Expand Down
4 changes: 2 additions & 2 deletions template/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
min-perl-version: ${{ steps.build-dist.outputs.min-perl-version }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- id: build-dist
uses: perlrdf/devops/github-actions/build-dist@main
with:
Expand All @@ -50,7 +50,7 @@ jobs:

steps:
- name: Get dist artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist

Expand Down

0 comments on commit 24762df

Please sign in to comment.