Skip to content

Update and rename shellcheck.yml to shell-check.yml #1

Update and rename shellcheck.yml to shell-check.yml

Update and rename shellcheck.yml to shell-check.yml #1

Workflow file for this run

name: Run Shell Check
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Shellcheck scripts
run: |
scversion="stable"
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/
rm -r "shellcheck-${scversion}"
shellcheck --version
shellcheck validate-logging-policies.sh