bhupesh-v.ugit/.github/workflows/build.yml
2021-05-11 12:48:02 +05:30

22 lines
509 B
YAML

name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
linux-test:
name: Linux Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: ShellCheck Test
uses: ludeeus/action-shellcheck@master
- name: Syntax Testing
# -n : read commands but do not execute them.
# This may be used to check a shell script for syntax errors (ignored by interactive shells).
run : |
bash -n ugit