replace nginx lint workflow

This commit is contained in:
Daniel Micay 2021-11-25 20:35:06 -05:00
parent 8b4e119821
commit c4cceaaf24
2 changed files with 8 additions and 6 deletions

View File

@ -8,9 +8,9 @@ jobs:
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
- uses: actions/setup-python@v2
with:
python-version: '3.9'
cache: 'pip'
- run: pip install -r requirements.txt
- run: gixy nginx/nginx.conf

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
gixy==0.1.20
pyparsing==2.4.7