Update curl-impersonate version #5778
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: Lint | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| phpcs: | |
| runs-on: ubuntu-24.04-arm | |
| strategy: | |
| matrix: | |
| php-versions: ['7.4'] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-versions }} | |
| tools: phpcs | |
| - run: phpcs . --standard=phpcs.xml --warning-severity=0 --extensions=php -p | |
| phpcompatibility: | |
| runs-on: ubuntu-24.04-arm | |
| strategy: | |
| matrix: | |
| php-versions: ['7.4'] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-versions }} | |
| - run: composer global config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true | |
| - run: composer global require dealerdirect/phpcodesniffer-composer-installer phpcompatibility/php-compatibility | |
| - run: ~/.composer/vendor/bin/phpcs . --standard=phpcompatibility.xml --warning-severity=0 --extensions=php -p | |
| executable_php_files_check: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: | | |
| if find -name "*.php" -executable -type f -print -exec false {} + | |
| then | |
| echo 'Good, no executable php scripts found' | |
| else | |
| echo 'Please unmark php scripts above as non-executable' | |
| exit 1 | |
| fi |