Skip to content

Commit

Permalink
ci: update external actions with Node 16 deprecation warnings
Browse files Browse the repository at this point in the history
Github-hosted runners have taken a first step to transition away from Node 16,
as it is reaching end of life.  As a consequence, a large number of actions
our CI depends on have been updated to run with Node 20 instead.

This commit updates to these new versions.

- see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/

Actions still missing update:
- peaceiris/actions-mdbook#500
  • Loading branch information
michaelmera committed Mar 4, 2024
1 parent ff528ab commit ad4f261
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: extractions/setup-just@v1
- uses: extractions/setup-just@v2
- name: Install toolchain
shell: bash
run: just default-toolchain
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build-deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup
Expand All @@ -27,11 +27,11 @@ jobs:
- name: API Documentation
shell: bash
run: cargo doc -p tlspuffin --target x86_64-unknown-linux-gnu --document-private-items
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: api-docs
path: target/doc/
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: book
path: docs/book/
Expand All @@ -41,19 +41,19 @@ jobs:
name: Deploy
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Download api-docs
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: api-docs
path: artifacts/api
- name: Download book
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: book
path: artifacts/book
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.3.3
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
branch: gh-pages
folder: artifacts
6 changes: 3 additions & 3 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-20.04
name: Build "${{ inputs.name }}"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup Git
Expand All @@ -60,12 +60,12 @@ jobs:
shell: bash
run: just build ${{ inputs.crate }} x86_64-unknown-linux-gnu "${{ inputs.features }}" "${{ inputs.cargo-flags }} --timings"
- name: Upload Build Timings
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: cargo-timings-${{ inputs.name }}
path: target/cargo-timings/cargo-timing.html
- name: Upload Build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.crate }}-${{ inputs.name }}
path: target/x86_64-unknown-linux-gnu/release/${{ inputs.crate }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Benchmark
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup
Expand Down

0 comments on commit ad4f261

Please sign in to comment.