mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2024-12-30 01:46:14 -05:00
20 lines
372 B
YAML
20 lines
372 B
YAML
|
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
|