Skip to content

chore: update jinja2 requirement from ~=3.1.4 to ~=3.1.5 #650

chore: update jinja2 requirement from ~=3.1.4 to ~=3.1.5

chore: update jinja2 requirement from ~=3.1.4 to ~=3.1.5 #650

Workflow file for this run

name: Quality
on: [push]
jobs:
lint_php:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ "8.2" ]
steps:
- uses: actions/checkout@v4
- name: "Setup PHP ${{ matrix.php-version }}"
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php-version }}"
coverage: "none"
- name: "Run phplint"
run: |
curl -Ls https://github.com/overtrue/phplint/releases/download/9.0.3/phplint.phar -o /usr/local/bin/phplint
chmod +x /usr/local/bin/phplint
/usr/local/bin/phplint -vvv --no-cache
lint_openapi:
runs-on: ubuntu-latest
needs: [lint_php]
steps:
- uses: actions/checkout@v4
- name: Lint OpenAPI spec
uses: vaibhav-jain/spectral-action/@v2.6
with:
file_path: pfSense-pkg-API/files/usr/local/www/api/documentation/openapi.yml
lint_python:
runs-on: ubuntu-latest
needs: [lint_php]
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')