tmux-kanagawa/.github/workflows/check-syntax.yml

15 lines
321 B
YAML
Raw Normal View History

2021-08-26 22:26:15 +02:00
name: Check Syntax
2021-08-25 07:40:24 +02:00
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@master
- name: syntax-check
run: for i in $(ls); do echo $i; if [ ! -z $(bash -n $i) ]; then $(exit 1); fi; done
working-directory: scripts
2021-08-26 22:26:15 +02:00
shell: bash