1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-11-25 22:27:34 +00:00
wireguard-install/.github/workflows/lint.yml

23 lines
478 B
YAML
Raw Normal View History

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