mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-06 07:07:14 -05:00
This also fixes a lot of code files to be conforming to the script. Co-authored-by: allejok96 <allejok96@gmail.com>
34 lines
1007 B
YAML
34 lines
1007 B
YAML
---
|
|
name: checks
|
|
'on': [push, pull_request]
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
scripted-checks:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install python-tinycss2
|
|
run: sudo apt-get install -y python3-tinycss2
|
|
- name: Update submodules
|
|
run: git submodule update --init --recursive
|
|
- name: Verify scripted tests
|
|
run: tests/scripted/verify
|
|
- name: Run check-strings
|
|
run: tests/scripted/check-strings
|
|
- name: Run check-namespace
|
|
run: tests/scripted/check-namespace
|
|
shellcheck:
|
|
runs-on: ubuntu-latest
|
|
container: koalaman/shellcheck-alpine:v0.4.6
|
|
steps:
|
|
- name: Check out
|
|
uses: actions/checkout@v3
|
|
- name: Run shellcheck
|
|
run: |
|
|
shellcheck \
|
|
$(find "./cmake/" -type f -name '*.sh' -o -name "*.sh.in") \
|
|
doc/bash-completion/lmms \
|
|
buildtools/update_locales
|