ci(workflow): run script in headless mode on VMs (#643)

Run script in headless mode on all supported distributions, on Digital Ocean VMs, with GitHub Actions
This commit is contained in:
Stanislas
2020-04-28 11:26:24 +02:00
committed by GitHub
parent 0e961a2e6b
commit 83f70fe71f
3 changed files with 102 additions and 0 deletions

26
.github/workflows/lint.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
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
with:
args: openvpn-install.sh -e SC1091,SC2164,SC2034,SC1072,SC1073,SC1009
shfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: shfmt
uses: bltavares/actions/shfmt@master
env:
SHFMT_ARGS: -d