Files
jbomb/.gitea/workflows/lint.yaml
Workflow config file is invalid. Please check your config file: yaml: line 11: could not find expected ':'

18 lines
560 B
YAML

on: [push, pull_request]
jobs:
CI:
name: Lint Check Shellscripts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Linter
run: |
wget -qO- "https://github.com/koalaman/shellcheck/releases/download/${scversion?}/shellcheck-${scversion?}.linux.x86_64.tar.xz" | tar -xJv
cp "shellcheck-${scversion}/shellcheck" /usr/local/bin
rm -rf "shellcheck-${scversion}"
shellcheck --version
- name: Run Linter
run: |
shellcheck penv
shellcheck jconf