mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-11-01 19:22:32 +00:00
27 lines
493 B
YAML
27 lines
493 B
YAML
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- master
|
||
|
|
||
|
name: Lint
|
||
|
jobs:
|
||
|
shellcheck:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@master
|
||
|
- name: shellcheck
|
||
|
uses: ludeeus/action-shellcheck@0.0.1
|
||
|
env:
|
||
|
SHELLCHECK_OPTS: -e SC1091,SC1117,SC2001
|
||
|
shfmt:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@master
|
||
|
- name: shfmt
|
||
|
uses: bltavares/actions/shfmt@master
|
||
|
env:
|
||
|
SHFMT_ARGS: -d
|