Skip to content

Commit

Permalink
gh actions: update gh actions
Browse files Browse the repository at this point in the history
solves:
The following actions use a deprecated Node.js version and will
be forced to run on node20:

* actions/checkout@v3,
* docker/setup-buildx-action@v2,
* docker/build-push-action@v3,
* actions/cache@v3.

Signed-off-by: Sandro Bonazzola <[email protected]>
  • Loading branch information
sandrobonazzola committed Sep 11, 2024
1 parent 326b385 commit afe68f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: "Checkout repo"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
PREVIEW_LINK_BASE: ${{steps.details.outputs.PREVIEW_LINK_BASE}}
steps:
- name: "Checkout repo"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Extract PR details
Expand All @@ -83,9 +83,9 @@ jobs:
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Build container image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
push: false
Expand All @@ -94,7 +94,7 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Set up Jekyll cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
cancel-in-progress: false
steps:
- name: "Checkout repo"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: gh-pages
token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/remove-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
cancel-in-progress: false
steps:
- name: Checkout gh-actions branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: gh-pages
- name: Extract PR details
Expand Down

0 comments on commit afe68f5

Please sign in to comment.