Skip to content

Commit

Permalink
ci: use actions checkout v4
Browse files Browse the repository at this point in the history
  • Loading branch information
epiccurious committed Dec 19, 2023
1 parent 33694fd commit b9db0a4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/bash_validation_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,30 @@ jobs:
name: Validate with ShellCheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run ShellCheck on jade-diy
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -e SC1091

validate-shfmt:
name: Validate with shfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run shfmt on jade-diy scripts
uses: luizm/action-sh-checker@master
env:
SHFMT_OPTS: -i 2 -sr
with:
sh_checker_shellcheck_disable: true

run-scripts:
name: Execute the scripts
runs-on: ubuntu-latest
needs: [validate-shellcheck, validate-shfmt]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install runtime dependency python3-virtualenv
run: sudo apt update && sudo apt install -y python3-virtualenv
- name: Run flash_your_device
Expand Down

0 comments on commit b9db0a4

Please sign in to comment.