diff --git a/.github/workflows/nginx.yml b/.github/workflows/nginx.yml index e8fa2cf..93d009d 100644 --- a/.github/workflows/nginx.yml +++ b/.github/workflows/nginx.yml @@ -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 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..7aa875c --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +gixy==0.1.20 +pyparsing==2.4.7