From 5cf83e3768a46207e8b52e054d5ceade7adc7e0a Mon Sep 17 00:00:00 2001 From: Ning Shang Date: Wed, 6 Mar 2024 21:30:07 -0800 Subject: [PATCH] GHA: Upgrade to actions/checkout v4.1.1 Move away from the deprecated node 12. --- .github/workflows/clang-sa.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/publish-docs.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/sanity.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/clang-sa.yml b/.github/workflows/clang-sa.yml index 289e031..c941bc2 100644 --- a/.github/workflows/clang-sa.yml +++ b/.github/workflows/clang-sa.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4.1.1 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/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c91db82..9fd34ab 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4.1.1 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 949d21d..d9aeb3f 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -16,7 +16,7 @@ jobs: #compiler_cxx: [clang++] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4.1.1 - name: Install dependencies run: | sudo apt update diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1cc88fe..241672f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: os: [ubuntu-20.04] steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4.1.1 - name: Set RELEASE_VERSION as tag version run: | echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV diff --git a/.github/workflows/sanity.yml b/.github/workflows/sanity.yml index c8bc1c3..32f8d64 100644 --- a/.github/workflows/sanity.yml +++ b/.github/workflows/sanity.yml @@ -16,7 +16,7 @@ jobs: compiler_cxx: [g++, clang++] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4.1.1 - name: Install dependencies run: | sudo apt update