mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
7b8ea4cefa
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
30 lines
599 B
YAML
30 lines
599 B
YAML
name: Lint
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
paths:
|
|
- '**.sh'
|
|
pull_request:
|
|
branches:
|
|
- develop
|
|
paths:
|
|
- '**.sh'
|
|
|
|
jobs:
|
|
shellcheck:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
LANG: C.UTF-8
|
|
container:
|
|
image: docker.io/ubuntu:23.10
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install shellcheck
|
|
run: apt update && apt install -y shellcheck bash && shellcheck --version
|
|
|
|
- name: Check shell scripts
|
|
run: shopt -s globstar && ls **/*.sh && shellcheck -x -P "SCRIPTDIR" --severity=info **/*.sh
|
|
shell: bash
|