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

23 lines
478 B
YAML
Raw Permalink Normal View History

2020-10-10 16:55:06 +03:00
on: [push, pull_request, pull_request_target]
2020-04-28 16:04:16 +03:00
name: Lint
2020-07-18 22:31:03 +03:00
2020-04-28 16:04:16 +03:00
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: shellcheck
uses: ludeeus/action-shellcheck@2.0.0
env:
SHELLCHECK_OPTS: -e SC1091,SC1117,SC2001,SC2034
2020-07-18 22:31:03 +03:00
2020-04-28 16:04:16 +03:00
shfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: shfmt
uses: bltavares/actions/shfmt@master
env:
SHFMT_ARGS: -d