mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-11-24 05:56:02 +03:00
23 lines
478 B
YAML
23 lines
478 B
YAML
on: [push, pull_request, pull_request_target]
|
|
|
|
name: Lint
|
|
|
|
jobs:
|
|
shellcheck:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: shellcheck
|
|
uses: ludeeus/action-shellcheck@0.5.0
|
|
env:
|
|
SHELLCHECK_OPTS: -e SC1091,SC1117,SC2001,SC2034
|
|
|
|
shfmt:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: shfmt
|
|
uses: bltavares/actions/shfmt@master
|
|
env:
|
|
SHFMT_ARGS: -d
|