]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Update upload action versions in CI scripts 1377/head
authorGreg Hudson <ghudson@mit.edu>
Tue, 8 Oct 2024 02:22:40 +0000 (22:22 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 10 Oct 2024 14:13:28 +0000 (10:13 -0400)
Increment the versions of the upload actions in doc.yml and cifuzz.yml
as documented in:

https://github.blog/news-insights/product-news/get-started-with-v4-of-github-actions-artifacts/
https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/

Also fix the conditional in cifuzz.yml to react to changes in itself,
not in build.yml.

.github/workflows/cifuzz.yml
.github/workflows/doc.yml

index 9d29aad0ca2dc32da558350d2ca7a2d51edec232..8e92a19e5fec360647492716c92db1d75fcca458 100644 (file)
@@ -1,7 +1,7 @@
 name: CIFuzz
 
 on:
-    pull_request: {paths: [src/**, .github/workflows/build.yml]}
+    pull_request: {paths: [src/**, .github/workflows/cifuzz.yml]}
 
 permissions: {}
 jobs:
@@ -31,7 +31,7 @@ jobs:
             path: ./out/artifacts
         - name: Upload Sarif
           if: always() && steps.build.outcome == 'success'
-          uses: github/codeql-action/upload-sarif@v2
+          uses: github/codeql-action/upload-sarif@v3
           with:
             # Path to SARIF file relative to the root of the repository
             sarif_file: cifuzz-sarif/results.sarif
index f7f6b6b09f199e8f8660bc068540ef5c39c2cf35..5b291c5b7bb125478502a3bc60c88cfa5289913b 100644 (file)
@@ -34,7 +34,7 @@ jobs:
                 cd src/doc
                 make -f Makefile.in SPHINX_ARGS=-W htmlsrc
             - name: Upload HTML
-              uses: actions/upload-artifact@v2
+              uses: actions/upload-artifact@v4
               with:
                   name: html
                   path: doc/html