From 116d13a55471a71059a5b8e5c3478d436186c3b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C6=A1n=20Phan=20Trung?= Date: Wed, 10 Jan 2024 14:27:12 +0700 Subject: [PATCH] chore(github actions): bump checkout to v4 --- .github/workflows/CBA.yml | 2 +- .../workflows/assign_mission_target_needs_om_special.yml | 2 +- .github/workflows/astyle.yml | 2 +- .github/workflows/check-translation.yml | 2 +- .github/workflows/clang-tidy.yml | 2 +- .github/workflows/cmake-format.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/comment-commands.yml | 4 ++-- .github/workflows/emscripten.yml | 2 +- .github/workflows/flake8.yml | 2 +- .github/workflows/format_emscripten.yml | 4 ++-- .github/workflows/json.yml | 2 +- .github/workflows/label-first-time-contributor.yml | 2 +- .github/workflows/linter.yml | 2 +- .github/workflows/matrix.yml | 2 +- .github/workflows/msvc-full-features.yml | 2 +- .github/workflows/pull-translations.yml | 2 +- .github/workflows/push-translation-template.yml | 2 +- .github/workflows/release.yml | 4 ++-- .github/workflows/summary-labeler.yml | 2 +- .github/workflows/text-changes-analyzer.yml | 6 +++--- .github/workflows/toc.yml | 2 +- .github/workflows/update-tilesets.yml | 2 +- .github/workflows/weekly-changelog.yml | 2 +- 24 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/CBA.yml b/.github/workflows/CBA.yml index 51e9d42ca9d50..152a66235cf2d 100644 --- a/.github/workflows/CBA.yml +++ b/.github/workflows/CBA.yml @@ -13,7 +13,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install dependencies run: sudo apt-get install libncursesw5-dev gettext - name: Prepare Build Analyzer diff --git a/.github/workflows/assign_mission_target_needs_om_special.yml b/.github/workflows/assign_mission_target_needs_om_special.yml index 2e5cd34d03427..8a69924b101a0 100644 --- a/.github/workflows/assign_mission_target_needs_om_special.yml +++ b/.github/workflows/assign_mission_target_needs_om_special.yml @@ -12,5 +12,5 @@ jobs: run-the-tool: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: ./tools/json_tools/assign_mission_target_needs_om_special.bash 2>&1 diff --git a/.github/workflows/astyle.yml b/.github/workflows/astyle.yml index 8ce5c2381ba9e..1d5fe95dada10 100644 --- a/.github/workflows/astyle.yml +++ b/.github/workflows/astyle.yml @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install dependencies run: sudo apt-get install astyle diff --git a/.github/workflows/check-translation.yml b/.github/workflows/check-translation.yml index c400b77bdcde2..4de06ff41c3de 100644 --- a/.github/workflows/check-translation.yml +++ b/.github/workflows/check-translation.yml @@ -19,6 +19,6 @@ jobs: sudo apt-get install python3-pip sudo pip3 install polib - name: "Checkout" - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: "Check printf format string in translations" run: ./tools/check_po_printf_format.py diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index 7e6cd74963063..dc537fc559cfd 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -79,7 +79,7 @@ jobs: ln -s /usr/bin/FileCheck-16 ~/llvm-command-override/FileCheck echo "$HOME/llvm-command-override" >> $GITHUB_PATH - name: checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: prepare run: bash ./build-scripts/requirements.sh - name: determine changed files diff --git a/.github/workflows/cmake-format.yml b/.github/workflows/cmake-format.yml index 103003fcf79eb..0b9d4b50b46ac 100644 --- a/.github/workflows/cmake-format.yml +++ b/.github/workflows/cmake-format.yml @@ -23,7 +23,7 @@ jobs: check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install cmakelang run: python3 -m pip install -U cmakelang - name: run cmake-lint diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3a8391a5a33e3..dfc447f4e926d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,7 +39,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/comment-commands.yml b/.github/workflows/comment-commands.yml index 42bdaf6abd2da..3a3df16611c12 100644 --- a/.github/workflows/comment-commands.yml +++ b/.github/workflows/comment-commands.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set-up Comvent uses: rytswd/comvent@v0.5.2 @@ -62,7 +62,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set-up Comvent uses: rytswd/comvent@v0.5.2 diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml index 41e62cb626c17..f3882ab5f774d 100644 --- a/.github/workflows/emscripten.yml +++ b/.github/workflows/emscripten.yml @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: mymindstorm/setup-emsdk@v13 diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml index b2a8e7d8fcb87..f87add2ed9e07 100644 --- a/.github/workflows/flake8.yml +++ b/.github/workflows/flake8.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install dependencies run: sudo apt-get install flake8 - name: Enable flake8 problem matcher diff --git a/.github/workflows/format_emscripten.yml b/.github/workflows/format_emscripten.yml index 1723ebab52559..47ceb12b4c251 100644 --- a/.github/workflows/format_emscripten.yml +++ b/.github/workflows/format_emscripten.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: install dependencies (ubuntu) run: | @@ -36,7 +36,7 @@ jobs: name: formatter path: formatter.html - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: gh-pages diff --git a/.github/workflows/json.yml b/.github/workflows/json.yml index b0b6850e66ad8..518e3b7805995 100644 --- a/.github/workflows/json.yml +++ b/.github/workflows/json.yml @@ -28,7 +28,7 @@ jobs: if: ${{ needs.skip-duplicates.outputs.should_skip != 'true' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: JSON style check run: make style-all-json-parallel RELEASE=1 - name: Display Corrections diff --git a/.github/workflows/label-first-time-contributor.yml b/.github/workflows/label-first-time-contributor.yml index 1ca5279d58aef..3b91d2f7cf591 100644 --- a/.github/workflows/label-first-time-contributor.yml +++ b/.github/workflows/label-first-time-contributor.yml @@ -13,7 +13,7 @@ jobs: triage: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check if user has any merged PRs in this reposiory id: pr-check diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 4291f99b1f9d7..5c7fa16910f56 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: '${{ github.event.pull_request.head.sha }}' diff --git a/.github/workflows/matrix.yml b/.github/workflows/matrix.yml index c37814824fce0..0f1807f2554cb 100644 --- a/.github/workflows/matrix.yml +++ b/.github/workflows/matrix.yml @@ -246,7 +246,7 @@ jobs: steps: - name: checkout repository if: ${{ env.SKIP == 'false' }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: install dependencies (ubuntu) if: ${{ env.SKIP == 'false' && runner.os == 'Linux' }} run: | diff --git a/.github/workflows/msvc-full-features.yml b/.github/workflows/msvc-full-features.yml index 6a5f3e229828c..8454ee28d4923 100644 --- a/.github/workflows/msvc-full-features.yml +++ b/.github/workflows/msvc-full-features.yml @@ -57,7 +57,7 @@ jobs: runs-on: windows-2019 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v1.3.1 diff --git a/.github/workflows/pull-translations.yml b/.github/workflows/pull-translations.yml index 088257f13040b..0df16e6a56a21 100644 --- a/.github/workflows/pull-translations.yml +++ b/.github/workflows/pull-translations.yml @@ -29,7 +29,7 @@ jobs: console.log(error) } - name: "Checkout" - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: "Get current date" uses: josStorer/get-current-time@v2.0.2 id: current-date diff --git a/.github/workflows/push-translation-template.yml b/.github/workflows/push-translation-template.yml index 48ae0874cf914..61f454f91aca6 100644 --- a/.github/workflows/push-translation-template.yml +++ b/.github/workflows/push-translation-template.yml @@ -31,7 +31,7 @@ jobs: sudo apt install python3-pip sudo pip3 install polib - name: "Checkout" - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: "Generate translation template" run: | lang/update_pot.sh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 833a090a07eda..5da6e71669693 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: run: | echo "tag_name=cdda-experimental-${{ steps.get-timestamp.outputs.time }}" >> $GITHUB_OUTPUT echo "release_name=Cataclysm-DDA experimental build ${{ steps.get-timestamp.outputs.time }}" >> $GITHUB_OUTPUT - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: | gh release create ${{ steps.generate_env_vars.outputs.tag_name }} --generate-notes --prerelease --title "${{ steps.generate_env_vars.outputs.release_name }}" @@ -162,7 +162,7 @@ jobs: env: ZSTD_CLEVEL: 17 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get soundpack if: matrix.sound == 1 run: | diff --git a/.github/workflows/summary-labeler.yml b/.github/workflows/summary-labeler.yml index 3f24d7f2bacf7..a4dd61e12a121 100644 --- a/.github/workflows/summary-labeler.yml +++ b/.github/workflows/summary-labeler.yml @@ -8,7 +8,7 @@ jobs: name: labeler runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: fuxingloh/multi-labeler@main with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/text-changes-analyzer.yml b/.github/workflows/text-changes-analyzer.yml index f0e00963b0a09..39c26dbc839d5 100644 --- a/.github/workflows/text-changes-analyzer.yml +++ b/.github/workflows/text-changes-analyzer.yml @@ -28,7 +28,7 @@ jobs: sudo apt-get install python3-pip gettext sudo pip3 install polib pyspellchecker - name: "Checkout test merge commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: "Compute base commit and test merge commit" id: get-commit-hash run: | @@ -41,7 +41,7 @@ jobs: ./lang/update_pot.sh cp lang/po/cataclysm-dda.pot ~/merge.pot - name: "Checkout base commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ steps.get-commit-hash.outputs.base_commit }} - name: "Generate translation template on base commit" @@ -50,7 +50,7 @@ jobs: ./lang/update_pot.sh cp lang/po/cataclysm-dda.pot ~/base.pot - name: "Checkout test merge commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ steps.get-commit-hash.outputs.test_merge_commit }} - name: "List text changes" diff --git a/.github/workflows/toc.yml b/.github/workflows/toc.yml index 53bd76b93373e..1e0c4b352baf1 100644 --- a/.github/workflows/toc.yml +++ b/.github/workflows/toc.yml @@ -14,7 +14,7 @@ jobs: name: Update the table of contents runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: npx doctoc doc/JSON_INFO.md --github - name: Create Pull Request uses: peter-evans/create-pull-request@v4 diff --git a/.github/workflows/update-tilesets.yml b/.github/workflows/update-tilesets.yml index c73f425ecf4b3..315a9e44e159d 100644 --- a/.github/workflows/update-tilesets.yml +++ b/.github/workflows/update-tilesets.yml @@ -15,7 +15,7 @@ jobs: if: github.repository == 'CleverRaven/Cataclysm-DDA' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: "Get current date" uses: 1466587594/get-current-time@v2 id: current-date diff --git a/.github/workflows/weekly-changelog.yml b/.github/workflows/weekly-changelog.yml index e9cc4ef1ef14f..7c604d2c4f267 100644 --- a/.github/workflows/weekly-changelog.yml +++ b/.github/workflows/weekly-changelog.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout" - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: "Get current date" uses: 1466587594/get-current-time@v2 id: current-date