1
1
mirror of https://github.com/namibia/openvpn-install.git synced 2024-11-18 18:25:10 +00:00
openvpn-install/.github/workflows/lint.yml

27 lines
523 B
YAML
Raw Normal View History

on:
push:
branches:
- master
pull_request:
branches:
- master
2020-04-27 13:01:15 +00:00
name: Lint
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: shellcheck
2019-11-11 06:37:09 +00:00
uses: ludeeus/action-shellcheck@0.0.1
with:
2019-08-16 16:31:46 +00:00
args: openvpn-install.sh -e SC1091,SC2164,SC2034,SC1072,SC1073,SC1009
2020-04-27 13:01:15 +00:00
shfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: shfmt
uses: bltavares/actions/shfmt@master
env:
SHFMT_ARGS: -d