Skip to content

Commit

Permalink
[GitHub Actions] Bump actions/checkout to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Feb 15, 2024
1 parent f319172 commit b3b7913
Show file tree
Hide file tree
Showing 15 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI_alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI_archlinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI_emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CI_fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CI_flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI_linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CI_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI_snapcraft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/CI_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/draft_tag_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/generate_snap_stable_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit b3b7913

Please sign in to comment.