From e5833a4b65897354a3dcb08bf1ec9a182ebec8fd Mon Sep 17 00:00:00 2001 From: Ian Taylor Date: Wed, 4 Dec 2024 16:38:00 -0800 Subject: [PATCH] chore: change actions/checkout@v3 to v4 #662 --- .github/workflows/build-deploy-doxygen.yml | 2 +- .github/workflows/build-doxygen.yml | 2 +- .github/workflows/get-gtest-codecov.yml | 2 +- .github/workflows/pr-checklist.yml | 2 +- .github/workflows/run-clang-format.yml | 2 +- .github/workflows/run-clang-tidy.yml | 2 +- .github/workflows/run-googletest.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-deploy-doxygen.yml b/.github/workflows/build-deploy-doxygen.yml index 564419150..09c640169 100644 --- a/.github/workflows/build-deploy-doxygen.yml +++ b/.github/workflows/build-deploy-doxygen.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Get repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Installing build dependencies run: | diff --git a/.github/workflows/build-doxygen.yml b/.github/workflows/build-doxygen.yml index f65a51d3d..ed0913636 100644 --- a/.github/workflows/build-doxygen.yml +++ b/.github/workflows/build-doxygen.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Get repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Installing build dependencies run: | diff --git a/.github/workflows/get-gtest-codecov.yml b/.github/workflows/get-gtest-codecov.yml index 191e99641..473e08a86 100644 --- a/.github/workflows/get-gtest-codecov.yml +++ b/.github/workflows/get-gtest-codecov.yml @@ -26,7 +26,7 @@ jobs: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Ninja run: sudo apt-get install ninja-build - uses: r-lib/actions/setup-r@v2 diff --git a/.github/workflows/pr-checklist.yml b/.github/workflows/pr-checklist.yml index 6f258dfdd..d37dd7311 100644 --- a/.github/workflows/pr-checklist.yml +++ b/.github/workflows/pr-checklist.yml @@ -10,7 +10,7 @@ jobs: name: pr-checklist steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 'Comment PR' uses: actions/github-script@0.3.0 if: github.event_name == 'pull_request' diff --git a/.github/workflows/run-clang-format.yml b/.github/workflows/run-clang-format.yml index 9fa64b658..966e5d57d 100644 --- a/.github/workflows/run-clang-format.yml +++ b/.github/workflows/run-clang-format.yml @@ -23,7 +23,7 @@ jobs: # Format hpp and cpp files under inst/include, src/, and test/gtest # We use Google style to format code. steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: DoozyX/clang-format-lint-action@v0.14 with: source: './inst/include ./src ./tests/gtest' diff --git a/.github/workflows/run-clang-tidy.yml b/.github/workflows/run-clang-tidy.yml index de72920e4..083512181 100644 --- a/.github/workflows/run-clang-tidy.yml +++ b/.github/workflows/run-clang-tidy.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install clang-tidy run: sudo apt update && sudo apt -y install clang-tidy diff --git a/.github/workflows/run-googletest.yml b/.github/workflows/run-googletest.yml index 97897b1f0..67da5a4fe 100644 --- a/.github/workflows/run-googletest.yml +++ b/.github/workflows/run-googletest.yml @@ -19,7 +19,7 @@ jobs: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Ninja shell: bash run: ${{ runner.os == 'macOS' && 'brew install ninja' || runner.os == 'Windows' && 'choco install ninja' || 'sudo apt-get install ninja-build' }}