From b31322b6cb4a205ab826d9a0f4db70565aeb6a25 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 20:44:33 +0000 Subject: [PATCH] Bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/csv-coverage-metrics.yml | 4 ++-- .github/workflows/csv-coverage-pr-artifacts.yml | 10 +++++----- .github/workflows/csv-coverage-timeseries.yml | 2 +- .github/workflows/csv-coverage.yml | 4 ++-- .github/workflows/go-tests.yml | 2 +- .github/workflows/mad_modelDiff.yml | 4 ++-- .github/workflows/mad_regenerate-models.yml | 2 +- .github/workflows/qhelp-pr-preview.yml | 6 +++--- .github/workflows/ql-for-ql-build.yml | 4 ++-- .github/workflows/ql-for-ql-dataset_measure.yml | 4 ++-- .github/workflows/query-list.yml | 2 +- .github/workflows/ruby-build.yml | 12 ++++++------ .github/workflows/ruby-dataset-measure.yml | 4 ++-- .github/workflows/swift.yml | 2 +- 14 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/csv-coverage-metrics.yml b/.github/workflows/csv-coverage-metrics.yml index e24c6bc74a4cb..0af5de82dfd46 100644 --- a/.github/workflows/csv-coverage-metrics.yml +++ b/.github/workflows/csv-coverage-metrics.yml @@ -33,7 +33,7 @@ jobs: run: | DATABASE="${{ runner.temp }}/java-database" codeql database analyze --format=sarif-latest --output=metrics-java.sarif -- "$DATABASE" ./java/ql/src/Metrics/Summaries/FrameworkCoverage.ql - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: metrics-java.sarif path: metrics-java.sarif @@ -60,7 +60,7 @@ jobs: run: | DATABASE="${{ runner.temp }}/csharp-database" codeql database analyze --format=sarif-latest --output=metrics-csharp.sarif -- "$DATABASE" ./csharp/ql/src/Metrics/Summaries/FrameworkCoverage.ql - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: metrics-csharp.sarif path: metrics-csharp.sarif diff --git a/.github/workflows/csv-coverage-pr-artifacts.yml b/.github/workflows/csv-coverage-pr-artifacts.yml index 8e2df456260fb..62fab73e3a74f 100644 --- a/.github/workflows/csv-coverage-pr-artifacts.yml +++ b/.github/workflows/csv-coverage-pr-artifacts.yml @@ -67,21 +67,21 @@ jobs: run: | python base/misc/scripts/library-coverage/compare-folders.py out_base out_merge comparison.md - name: Upload CSV package list - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: csv-framework-coverage-merge path: | out_merge/framework-coverage-*.csv out_merge/framework-coverage-*.rst - name: Upload CSV package list - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: csv-framework-coverage-base path: | out_base/framework-coverage-*.csv out_base/framework-coverage-*.rst - name: Upload comparison results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: comparison path: | @@ -93,7 +93,7 @@ jobs: env: PR_NUMBER: ${{ github.event.pull_request.number }} - name: Upload PR number - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pr path: pr/ @@ -113,7 +113,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} PR_NUMBER: ${{ github.event.pull_request.number }} - name: Upload comment ID (if it exists) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: comment path: comment/ diff --git a/.github/workflows/csv-coverage-timeseries.yml b/.github/workflows/csv-coverage-timeseries.yml index cf2758dd9d344..1245ea93b719c 100644 --- a/.github/workflows/csv-coverage-timeseries.yml +++ b/.github/workflows/csv-coverage-timeseries.yml @@ -27,7 +27,7 @@ jobs: run: | python script/misc/scripts/library-coverage/generate-timeseries.py codeqlModels - name: Upload timeseries CSV - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: framework-coverage-timeseries path: framework-coverage-timeseries-*.csv diff --git a/.github/workflows/csv-coverage.yml b/.github/workflows/csv-coverage.yml index 4fb1d143fc394..fa76be84268ce 100644 --- a/.github/workflows/csv-coverage.yml +++ b/.github/workflows/csv-coverage.yml @@ -31,12 +31,12 @@ jobs: run: | python script/misc/scripts/library-coverage/generate-report.py ci codeqlModels script - name: Upload CSV package list - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: framework-coverage-csv path: framework-coverage-*.csv - name: Upload RST package list - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: framework-coverage-rst path: framework-coverage-*.rst diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index 7885f504bba3a..685125a5f47cd 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -54,7 +54,7 @@ jobs: env QHELP_OUT_DIR=qhelp-out make qhelp-to-markdown - name: Upload qhelp markdown - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: qhelp-markdown path: go/qhelp-out/**/*.md diff --git a/.github/workflows/mad_modelDiff.yml b/.github/workflows/mad_modelDiff.yml index 17640da9f2e14..ecbea440ff4e7 100644 --- a/.github/workflows/mad_modelDiff.yml +++ b/.github/workflows/mad_modelDiff.yml @@ -91,12 +91,12 @@ jobs: name="diff_${basename/_main.model.yml/""}" (diff -w -u $m $t | diff2html -i stdin -F $MODELS/$name.html) || true done - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: models path: tmp-models/*.model.yml retention-days: 20 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: diffs path: tmp-models/*.html diff --git a/.github/workflows/mad_regenerate-models.yml b/.github/workflows/mad_regenerate-models.yml index 3268a17dfbb4e..c49a8e012cd5c 100644 --- a/.github/workflows/mad_regenerate-models.yml +++ b/.github/workflows/mad_regenerate-models.yml @@ -56,7 +56,7 @@ jobs: find java -name "*.model.yml" -print0 | xargs -0 git add git status git diff --cached > models.patch - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: patch path: models.patch diff --git a/.github/workflows/qhelp-pr-preview.yml b/.github/workflows/qhelp-pr-preview.yml index 8b20fbe00c96a..4852c06489146 100644 --- a/.github/workflows/qhelp-pr-preview.yml +++ b/.github/workflows/qhelp-pr-preview.yml @@ -36,7 +36,7 @@ jobs: - run: echo "${PR_NUMBER}" > pr_number.txt env: PR_NUMBER: ${{ github.event.number }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: comment path: pr_number.txt @@ -78,7 +78,7 @@ jobs: exit "${EXIT_CODE}" - if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: comment path: comment_body.txt @@ -94,7 +94,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} PR_NUMBER: ${{ github.event.number }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: comment path: comment_id.txt diff --git a/.github/workflows/ql-for-ql-build.yml b/.github/workflows/ql-for-ql-build.yml index e8ac1fa0f1734..7f5134f1241c0 100644 --- a/.github/workflows/ql-for-ql-build.yml +++ b/.github/workflows/ql-for-ql-build.yml @@ -70,7 +70,7 @@ jobs: sarif_file: ql-for-ql.sarif category: ql-for-ql - name: Sarif as artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ql-for-ql.sarif path: ql-for-ql.sarif @@ -79,7 +79,7 @@ jobs: mkdir split-sarif node ./ql/scripts/split-sarif.js ql-for-ql.sarif split-sarif - name: Upload langs as artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ql-for-ql-langs path: split-sarif diff --git a/.github/workflows/ql-for-ql-dataset_measure.yml b/.github/workflows/ql-for-ql-dataset_measure.yml index d317d467c9aa2..5b22f3adf6eee 100644 --- a/.github/workflows/ql-for-ql-dataset_measure.yml +++ b/.github/workflows/ql-for-ql-dataset_measure.yml @@ -61,7 +61,7 @@ jobs: "${CODEQL}" dataset measure --threads 4 --output "stats/${{ matrix.repo }}/stats.xml" "${{ runner.temp }}/database/db-ql" env: CODEQL: ${{ steps.find-codeql.outputs.codeql-path }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: measurements path: stats @@ -79,7 +79,7 @@ jobs: - run: | python -m pip install --user lxml find stats -name 'stats.xml' -print0 | sort -z | xargs -0 python ruby/scripts/merge_stats.py --output ql/ql/src/ql.dbscheme.stats --normalise ql_tokeninfo - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ql.dbscheme.stats path: ql/ql/src/ql.dbscheme.stats diff --git a/.github/workflows/query-list.yml b/.github/workflows/query-list.yml index 07fb3b682da3f..210227fb9565d 100644 --- a/.github/workflows/query-list.yml +++ b/.github/workflows/query-list.yml @@ -34,7 +34,7 @@ jobs: run: | python codeql/misc/scripts/generate-code-scanning-query-list.py > code-scanning-query-list.csv - name: Upload code scanning query list - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: code-scanning-query-list path: code-scanning-query-list.csv diff --git a/.github/workflows/ruby-build.yml b/.github/workflows/ruby-build.yml index 392c6ff830262..06582b3bf4be1 100644 --- a/.github/workflows/ruby-build.yml +++ b/.github/workflows/ruby-build.yml @@ -93,17 +93,17 @@ jobs: - name: Generate dbscheme if: ${{ matrix.os == 'ubuntu-latest' && steps.cache-extractor.outputs.cache-hit != 'true'}} run: extractor/target/release/codeql-extractor-ruby generate --dbscheme ql/lib/ruby.dbscheme --library ql/lib/codeql/ruby/ast/internal/TreeSitter.qll - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ matrix.os == 'ubuntu-latest' }} with: name: ruby.dbscheme path: ruby/ql/lib/ruby.dbscheme - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ matrix.os == 'ubuntu-latest' }} with: name: TreeSitter.qll path: ruby/ql/lib/codeql/ruby/ast/internal/TreeSitter.qll - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: extractor-${{ matrix.os }} path: | @@ -134,7 +134,7 @@ jobs: PACK_FOLDER=$(readlink -f "$PACKS"/codeql/ruby-queries/*) codeql generate query-help --format=sarifv2.1.0 --output="${PACK_FOLDER}/rules.sarif" ql/src (cd ql/src; find queries \( -name '*.qhelp' -o -name '*.rb' -o -name '*.erb' \) -exec bash -c 'mkdir -p "'"${PACK_FOLDER}"'/$(dirname "{}")"' \; -exec cp "{}" "${PACK_FOLDER}/{}" \;) - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: codeql-ruby-queries path: | @@ -171,7 +171,7 @@ jobs: cp win64/codeql-extractor-ruby.exe ruby/tools/win64/extractor.exe chmod +x ruby/tools/{linux64,osx64}/extractor zip -rq codeql-ruby.zip ruby - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: codeql-ruby-pack path: ruby/codeql-ruby.zip @@ -188,7 +188,7 @@ jobs: ] }' > .codeqlmanifest.json zip -rq codeql-ruby-bundle.zip .codeqlmanifest.json ruby qlpacks - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: codeql-ruby-bundle path: ruby/codeql-ruby-bundle.zip diff --git a/.github/workflows/ruby-dataset-measure.yml b/.github/workflows/ruby-dataset-measure.yml index c064d8d2bfb4b..e2e125584249b 100644 --- a/.github/workflows/ruby-dataset-measure.yml +++ b/.github/workflows/ruby-dataset-measure.yml @@ -49,7 +49,7 @@ jobs: run: | mkdir -p "stats/${{ matrix.repo }}" codeql dataset measure --threads 4 --output "stats/${{ matrix.repo }}/stats.xml" "${{ runner.temp }}/database/db-ruby" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: measurements path: stats @@ -67,7 +67,7 @@ jobs: - run: | python -m pip install --user lxml find stats -name 'stats.xml' | sort | xargs python ruby/scripts/merge_stats.py --output ruby/ql/lib/ruby.dbscheme.stats --normalise ruby_tokeninfo - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ruby.dbscheme.stats path: ruby/ql/lib/ruby.dbscheme.stats diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 8a04d47411810..5f5ac12675747 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -94,7 +94,7 @@ jobs: - name: Generate C++ files run: | bazel run //swift/codegen:codegen -- --generate=trap,cpp --cpp-output=$PWD/generated-cpp-files - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: swift-generated-cpp-files path: generated-cpp-files/**