diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-02-14 10:03:23 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-02-15 02:27:48 -0500 |
| commit | 414eabce85299d10fe21a0c6f290e2b7cf50097c (patch) | |
| tree | 2d526accf2e2ca527fa7a539e96655e009a2334b /.github | |
| parent | 08affd955864970b476ca1cace2d0db8688f6164 (diff) | |
add GitHub workflow for linting nginx.conf
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/nginx.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/nginx.yml b/.github/workflows/nginx.yml new file mode 100644 index 00000000..5886da64 --- /dev/null +++ b/.github/workflows/nginx.yml @@ -0,0 +1,19 @@ +name: Lint nginx configuration + +on: + pull_request: + push: + branches: [master] + +jobs: + static: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - run: sudo apt-get update + - run: sudo apt-get -y install python3-pip python3-setuptools + - run: pip3 install wheel + - run: pip3 install gixy + - run: ~/.local/bin/gixy nginx/nginx.conf |
