Quanthub sdmx proxy refactoring. #435
Workflow file for this run
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: PHP Code Standards | |
| on: | |
| pull_request: | |
| branches: | |
| - 1.1.x | |
| - 2.0.x | |
| jobs: | |
| PHP-Code-Standards: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v3 | |
| - name: Setup PHP | |
| id: setup-php | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.3' | |
| - name: Print PHP version | |
| run: echo ${{ steps.setup-php.outputs.php-version }} | |
| - name: Сomposer Install | |
| run: | | |
| ls ${{ github.workspace }} | |
| composer install | |
| - name: Install PHP_CodeSniffer and Drupal Coder | |
| run: | | |
| composer global require "squizlabs/php_codesniffer=3.*" | |
| composer global config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true | |
| composer global require drupal/coder | |
| - name: Run PHP_CodeSniffer | |
| run: | | |
| export PATH="$PATH:~/.composer/vendor/bin" | |
| phpcs -v --colors --standard="Drupal,DrupalPractice" --extensions="php,module,inc,install,test,profile,theme" themes modules |