mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2025-02-06 10:05:27 -05:00
Add GitHub workflow for linting nginx.conf and security-headers.conf
Signed-off-by: June <zanthed@riseup.net>
This commit is contained in:
parent
384f37a9f4
commit
86772f7fea
19
.github/workflows/nginx.yml
vendored
Normal file
19
.github/workflows/nginx.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: Lint nginx configuration
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
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
|
Loading…
x
Reference in New Issue
Block a user