openvpn-install/.github/workflows/lint.yml

29 lines
508 B
YAML
Raw Normal View History

on:
push:
branches:
- master
pull_request:
branches:
- master
2020-04-27 15:01:15 +02:00
name: Lint
2020-06-26 22:37:38 +02:00
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
2020-06-26 22:37:38 +02:00
- uses: actions/checkout@v2
- name: shellcheck
uses: ludeeus/action-shellcheck@0.4.1
env:
SHELLCHECK_OPTS: -e SC1091,SC2164,SC2034,SC1072,SC1073,SC1009
2020-06-26 22:37:38 +02:00
2020-04-27 15:01:15 +02:00
shfmt:
runs-on: ubuntu-latest
steps:
2020-06-26 22:37:38 +02:00
- uses: actions/checkout@v2
2020-04-27 15:01:15 +02:00
- name: shfmt
uses: bltavares/actions/shfmt@master
env:
SHFMT_ARGS: -d