From b3b791374aba5fa0b71545cab06034c8fae3eaf3 Mon Sep 17 00:00:00 2001 From: past-due <30942300+past-due@users.noreply.github.com> Date: Wed, 14 Feb 2024 21:41:48 -0500 Subject: [PATCH] [GitHub Actions] Bump actions/checkout to v4 --- .github/workflows/CI_alpine.yml | 2 +- .github/workflows/CI_archlinux.yml | 2 +- .github/workflows/CI_emscripten.yml | 2 +- .github/workflows/CI_fedora.yml | 4 ++-- .github/workflows/CI_flatpak.yml | 4 ++-- .github/workflows/CI_linter.yml | 2 +- .github/workflows/CI_macos.yml | 4 ++-- .github/workflows/CI_snapcraft.yml | 2 +- .github/workflows/CI_ubuntu.yml | 6 +++--- .github/workflows/CI_windows.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/draft_tag_release.yml | 2 +- .github/workflows/generate_snap_stable_config.yml | 8 ++++---- .github/workflows/maintenance.yml | 2 +- .github/workflows/release.yml | 2 +- 15 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/CI_alpine.yml b/.github/workflows/CI_alpine.yml index 0e8266824d0..83b1ba74bc6 100644 --- a/.github/workflows/CI_alpine.yml +++ b/.github/workflows/CI_alpine.yml @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' diff --git a/.github/workflows/CI_archlinux.yml b/.github/workflows/CI_archlinux.yml index 08e7e8f1630..7d6bb14ea46 100644 --- a/.github/workflows/CI_archlinux.yml +++ b/.github/workflows/CI_archlinux.yml @@ -37,7 +37,7 @@ jobs: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' diff --git a/.github/workflows/CI_emscripten.yml b/.github/workflows/CI_emscripten.yml index 944e02a8d25..aa49d3be602 100644 --- a/.github/workflows/CI_emscripten.yml +++ b/.github/workflows/CI_emscripten.yml @@ -48,7 +48,7 @@ jobs: WZ_GITHUB_REF: ${{ steps.checkout-config.outputs.WZ_GITHUB_REF }} WZ_GITHUB_SHA: ${{ steps.checkout-config.outputs.WZ_GITHUB_SHA }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' diff --git a/.github/workflows/CI_fedora.yml b/.github/workflows/CI_fedora.yml index add67260361..a2f0343f97f 100644 --- a/.github/workflows/CI_fedora.yml +++ b/.github/workflows/CI_fedora.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' diff --git a/.github/workflows/CI_flatpak.yml b/.github/workflows/CI_flatpak.yml index d75c67df8b1..c5651b06785 100644 --- a/.github/workflows/CI_flatpak.yml +++ b/.github/workflows/CI_flatpak.yml @@ -87,7 +87,7 @@ jobs: uses: docker/setup-qemu-action@v2 with: platforms: ${{ matrix.arch }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' @@ -444,7 +444,7 @@ jobs: curl -Lf https://raw.githubusercontent.com/flatpak/flat-manager/master/flat-manager-client --output /usr/bin/flat-manager-client chmod +x /usr/bin/flat-manager-client echo "::endgroup::" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: 'src' set-safe-directory: true diff --git a/.github/workflows/CI_linter.yml b/.github/workflows/CI_linter.yml index fe74c5c17be..1a14fbcd841 100644 --- a/.github/workflows/CI_linter.yml +++ b/.github/workflows/CI_linter.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Full git history is needed to get a proper list of changed files within `super-linter` fetch-depth: 0 diff --git a/.github/workflows/CI_macos.yml b/.github/workflows/CI_macos.yml index 0633913d520..9bf3a961faa 100644 --- a/.github/workflows/CI_macos.yml +++ b/.github/workflows/CI_macos.yml @@ -66,7 +66,7 @@ jobs: VCPKG_DEFAULT_TRIPLET: '${{ matrix.vcpkg_triplet }}' ARCHS: '${{ matrix.osx_target_arch }}' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' @@ -215,7 +215,7 @@ jobs: needs: macos-build runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' diff --git a/.github/workflows/CI_snapcraft.yml b/.github/workflows/CI_snapcraft.yml index 141ccfcda0b..c3b868c8103 100644 --- a/.github/workflows/CI_snapcraft.yml +++ b/.github/workflows/CI_snapcraft.yml @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-20.04 # Use instead of ubuntu-latest until https://github.com/snapcore/action-build/issues/42 is resolved if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Configure Repo Checkout diff --git a/.github/workflows/CI_ubuntu.yml b/.github/workflows/CI_ubuntu.yml index 10d645142ec..b18a2904e71 100644 --- a/.github/workflows/CI_ubuntu.yml +++ b/.github/workflows/CI_ubuntu.yml @@ -67,7 +67,7 @@ jobs: # Needed by the release + other later jobs - despite this being a matrix job, this should be the same for all, so we can allow whatever is last to persist it WZ_GITHUB_REF: ${{ steps.checkout-config.outputs.WZ_GITHUB_REF }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' @@ -216,7 +216,7 @@ jobs: run: | echo "GITHUB_REF=${GITHUB_REF}" echo "GITHUB_HEAD_REF=${GITHUB_HEAD_REF}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' @@ -337,7 +337,7 @@ jobs: # runs-on: ubuntu-latest # if: "!contains(github.event.head_commit.message, '[ci skip]')" # steps: - # - uses: actions/checkout@v3 + # - uses: actions/checkout@v4 # with: # fetch-depth: 0 # - name: Prepare Git Repo for autorevision diff --git a/.github/workflows/CI_windows.yml b/.github/workflows/CI_windows.yml index 61206e194db..9354f67dff6 100644 --- a/.github/workflows/CI_windows.yml +++ b/.github/workflows/CI_windows.yml @@ -69,7 +69,7 @@ jobs: runs-on: windows-2022 if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1c74b6c2980..1931ddfedae 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -32,7 +32,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive diff --git a/.github/workflows/draft_tag_release.yml b/.github/workflows/draft_tag_release.yml index b8f5c48e87d..3e4569ee334 100644 --- a/.github/workflows/draft_tag_release.yml +++ b/.github/workflows/draft_tag_release.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo (to obtain template files) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false fetch-depth: 1 diff --git a/.github/workflows/generate_snap_stable_config.yml b/.github/workflows/generate_snap_stable_config.yml index 2909707600e..bf3077e1160 100644 --- a/.github/workflows/generate_snap_stable_config.yml +++ b/.github/workflows/generate_snap_stable_config.yml @@ -77,21 +77,21 @@ jobs: sudo rm -rf _dl/ - name: Checkout (Latest) if: github.event.inputs.git-ref == '' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: warzone2100 submodules: recursive persist-credentials: false - name: Checkout (Custom Ref) if: github.event.inputs.git-ref != '' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: warzone2100 submodules: recursive persist-credentials: false ref: '${{ github.event.inputs.git-ref }}' - name: Checkout snap-stable-build@master - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: 'Warzone2100/snap-stable-build' ref: master @@ -195,7 +195,7 @@ jobs: if: (github.event_name == 'release') || (github.event_name == 'workflow_dispatch') steps: - name: Checkout snap-stable-build@master - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: 'Warzone2100/snap-stable-build' ref: master diff --git a/.github/workflows/maintenance.yml b/.github/workflows/maintenance.yml index 37f28823dcc..0d44b43dab4 100644 --- a/.github/workflows/maintenance.yml +++ b/.github/workflows/maintenance.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: master path: master diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9cf904f8b79..82fa2eeae78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,7 +96,7 @@ jobs: - name: Prep Environment run: | mkdir empty-folder - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src'