From 6d9073a5dd3a7ff48b40cd2552aac575ffed69fc Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Mon, 30 Jan 2023 20:31:34 +0100 Subject: ci: Upgrade to Node 16-based actions Reference: --- .github/workflows/build.yaml | 20 ++++++++++---------- .github/workflows/codeql-analysis.yaml | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 197cd93f..8da7c327 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -132,7 +132,7 @@ jobs: fi - name: Get source - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Build and test run: ci/build @@ -146,7 +146,7 @@ jobs: - name: Upload testdir from failed tests if: failure() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.version }}-testdir.tar.xz path: testdir.tar.xz @@ -197,7 +197,7 @@ jobs: fi - name: Get source - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Build and test run: ci/build @@ -215,7 +215,7 @@ jobs: - name: Upload testdir from failed tests if: failure() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ matrix.config.sys}}-${{ matrix.config.env }}-${{ matrix.config.compiler }}-testdir.tar.xz path: testdir.tar.xz @@ -227,7 +227,7 @@ jobs: CMAKE_GENERATOR: Ninja steps: - name: Get source - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Dependencies run: | HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 \ @@ -435,7 +435,7 @@ jobs: steps: - name: Get source - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install CUDA if: matrix.config.CUDA != '' @@ -449,7 +449,7 @@ jobs: - name: Prepare Windows environment (Visual Studio) if: runner.os == 'Windows' - uses: ilammy/msvc-dev-cmd@v1.5.0 + uses: ilammy/msvc-dev-cmd@v1.12.0 with: arch: ${{ matrix.config.msvc_arch }} @@ -504,7 +504,7 @@ jobs: - name: Upload testdir from failed tests if: failure() || steps.build-and-test.outcome == 'failure' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ matrix.config.name }} - testdir.tar.xz path: testdir.tar.xz @@ -516,7 +516,7 @@ jobs: fail-fast: false steps: - name: Get source - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Run Clang-Format in check mode run: misc/format-files --all --check @@ -528,7 +528,7 @@ jobs: fail-fast: false steps: - name: Get source - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install codespell run: | diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml index 5bd772b3..99b46faf 100644 --- a/.github/workflows/codeql-analysis.yaml +++ b/.github/workflows/codeql-analysis.yaml @@ -31,7 +31,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. -- cgit v1.2.1