Skip to content

(PE-38404) Update script for AL2 (again) #65

(PE-38404) Update script for AL2 (again)

(PE-38404) Update script for AL2 (again) #65

Workflow file for this run

---
name: Static checks
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
checks:
name: Run static checks
runs-on: ubuntu-latest
steps:
- name: Checkout current PR
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run shellcheck
run: |
scversion="stable" # or "v0.4.7", or "latest"
wget -qO- "https://github.com/koalaman/shellcheck/releases/download/${scversion?}/shellcheck-${scversion?}.linux.x86_64.tar.xz" | tar -xJv
sudo cp "shellcheck-${scversion}/shellcheck" /usr/bin/
shellcheck --version
shellcheck *.sh