Skip to content

Commit

Permalink
CI: upgrade actions checkout version for deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed May 10, 2024
1 parent 42eaf7e commit 888f8ce
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create_shlink_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Runs a set of commands using the runners shell
- name: Run a multi-line script
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sha1sum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout pi-apps repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: hash all files
run: |
cd $GITHUB_WORKSPACE
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout pi-apps repo
uses: actions/checkout@v3
uses: actions/checkout@v4
if: github.event_name != 'pull_request_target'
- name: Checkout pi-apps PR repo
uses: actions/checkout@v3
uses: actions/checkout@v4
if: github.event_name == 'pull_request_target'
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Test installing app on buster armhf
uses: theofficialgman/arm-runner-action@v12
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ inputs.bullseye && ( inputs.architecture == '32bit' || inputs.architecture == 'Both' ) }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test installing app on bullseye armhf
uses: theofficialgman/arm-runner-action@v12
with:
Expand All @@ -119,7 +119,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ inputs.bookworm && ( inputs.architecture == '32bit' || inputs.architecture == 'Both' ) }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test installing app on bookworm armhf
uses: theofficialgman/arm-runner-action@v12
with:
Expand All @@ -140,7 +140,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ inputs.buster && ( inputs.architecture == '64bit' || inputs.architecture == 'Both' ) }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test installing app on buster arm64
uses: theofficialgman/arm-runner-action@v12
with:
Expand All @@ -161,7 +161,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ inputs.bullseye && ( inputs.architecture == '64bit' || inputs.architecture == 'Both' ) }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test installing app on bullseye arm64
uses: theofficialgman/arm-runner-action@v12
with:
Expand All @@ -182,7 +182,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ inputs.bookworm && ( inputs.architecture == '64bit' || inputs.architecture == 'Both' ) }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test installing app on bookworm arm64
uses: theofficialgman/arm-runner-action@v12
with:
Expand All @@ -203,7 +203,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ inputs.l4t_bionic_64 }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test installing app on L4T bionic arm64
uses: theofficialgman/arm-runner-action@v12
with:
Expand All @@ -227,7 +227,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ inputs.l4t_focal_64 }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Clear up some disk space
run: |
# Workaround to provide additional free space for testing.
Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ inputs.l4t_jammy_64 }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test installing app on L4T jammy arm64
uses: theofficialgman/arm-runner-action@v12
with:
Expand All @@ -282,7 +282,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ inputs.l4t_noble_64 }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test installing app on L4T noble arm64
uses: theofficialgman/arm-runner-action@v12
with:
Expand All @@ -306,7 +306,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ inputs.noble_64 }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test installing app on noble arm64
uses: theofficialgman/arm-runner-action@v12
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update_apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Runs a set of commands using the runners shell
- name: Run app update scripts
Expand Down Expand Up @@ -306,7 +306,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# setup github environment variables
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# restore GITHUB_WORKSPACE
- uses: actions/download-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_apps_raspbian_addons.yml.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Runs a set of commands using the runners shell
- name: Run app update scripts
Expand Down

0 comments on commit 888f8ce

Please sign in to comment.