]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
ci: Upgrade to Node 16-based actions
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 30 Jan 2023 19:31:34 +0000 (20:31 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 30 Jan 2023 20:58:15 +0000 (21:58 +0100)
Reference:
<https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/>

.github/workflows/build.yaml
.github/workflows/codeql-analysis.yaml

index 197cd93f029669ba89ada6383ac7979c39e6c1d7..8da7c327d91a0c959e6322bd0bf9746756de0b82 100644 (file)
@@ -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: |
index 5bd772b37c818eee1268311f5b1a481baaac6dd7..99b46fafdec0c7a5a63a04b2909b5506ee7483cf 100644 (file)
@@ -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.