From 49c57f4a6abb7c08ddf9f1a7d86cb1a220cd60e0 Mon Sep 17 00:00:00 2001 From: nirenjan Date: Sat, 8 Jun 2024 21:38:34 -0700 Subject: [PATCH] Update workflows to use actions/checkout@v4 Since Node 16 has been deprecated, Github is requiring all Actions users to migrate to Node 20, and therefore use actions/checkout@v4. This also applies to other jobs that use Node 16 as their runtime. See: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ --- .github/workflows/build.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/doxygen.yml | 4 ++-- .github/workflows/kernel.yml | 2 +- .github/workflows/release.yml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5e22a29..b425c9d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies (Ubuntu) run: ./.github/scripts/install-dependencies-ubuntu.sh diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b368554..a118e3e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml index 2813e5e..1ec49cf 100644 --- a/.github/workflows/doxygen.yml +++ b/.github/workflows/doxygen.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies run: ./.github/scripts/install-dependencies-ubuntu.sh @@ -24,7 +24,7 @@ jobs: run: find ./build -type f -print - name: Deploy generated documentation to Github pages - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./build/docs/html diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml index 6ff01c3..78f0f95 100644 --- a/.github/workflows/kernel.yml +++ b/.github/workflows/kernel.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install kernel dependencies run: ./.github/scripts/install-kernel-dependencies.sh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b36c980..9b3a1ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies run: ./.github/scripts/install-dependencies-ubuntu.sh