summaryrefslogtreecommitdiff
path: root/.github/workflows/nginx.yml
blob: 5d0f5269416aa79cace9e651a884019c44b156dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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