owncast/.github/workflows/shellcheck.yml
renovate[bot] c7cbebe838
chore(deps): update docker.io/ubuntu docker tag to v23 (#2562)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 10:47:11 -08:00

30 lines
577 B
YAML

name: Lint
on:
push:
branches:
- webv2
paths:
- '**.sh'
pull_request:
branches:
- webv2
paths:
- '**.sh'
jobs:
shellcheck:
runs-on: ubuntu-latest
env:
LANG: C.UTF-8
container:
image: docker.io/ubuntu:23.04
steps:
- uses: actions/checkout@v3
- name: Install shellcheck
run: apt update && apt install -y shellcheck bash && shellcheck --version
- name: Check shell scripts
run: shopt -s globstar && ls **/*.sh && shellcheck --severity=info **/*.sh
shell: bash