chore: bump firebase/php-jwt from 6.11.1 to 7.0.2 (#812) #1060
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Quality | |
| on: [push] | |
| jobs: | |
| lint_php: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php-version: [ "8.2" ] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - 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@v6 | |
| - 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.10", "3.11"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| 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') |