diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2023-01-30 20:31:34 +0100 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2023-01-30 21:58:15 +0100 |
commit | 6d9073a5dd3a7ff48b40cd2552aac575ffed69fc (patch) | |
tree | f6e851b60933094f8d156219cf0c8e773bcbfd57 | |
parent | 147ea804a27afe96899a2f9fe010b91faa3eacc5 (diff) | |
download | ccache-6d9073a5dd3a7ff48b40cd2552aac575ffed69fc.tar.gz |
ci: Upgrade to Node 16-based actions
Reference:
<https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/>
-rw-r--r-- | .github/workflows/build.yaml | 20 | ||||
-rw-r--r-- | .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. |