Make WordPress Core

Ticket #50401: 50401.3.diff

File 50401.3.diff, 1.7 KB (added by ocean90, 4 years ago)
  • .github/workflows/coding-standards.yml

     
    6060      - name: Install Composer dependencies
    6161        run: |
    6262          composer install --prefer-dist --no-suggest --no-progress --no-ansi --no-interaction
    63           echo "vendor/bin" >> $GITHUB_PATH
     63          echo "${PWD}/vendor/bin" >> $GITHUB_PATH
    6464
    6565      - name: Log PHPCS debug information
    6666        run: phpcs -i
    6767
    6868      - name: Run PHPCS on all Core files
    69         run: vendor/bin/phpcs -q -n --report=checkstyle | cs2pr
     69        run: phpcs -q -n --report=checkstyle | cs2pr
    7070
    7171      - name: Check test suite files for warnings
    72         run: vendor/bin/phpcs tests -q --report=checkstyle | cs2pr
     72        run: phpcs tests -q --report=checkstyle | cs2pr
    7373
    7474  # Runs the JavaScript coding standards checks.
    7575  #
  • .github/workflows/php-compatibility.yml

     
    6161      - name: Install Composer dependencies
    6262        run: |
    6363          composer install --prefer-dist --no-suggest --no-progress --no-ansi --no-interaction
    64           echo "vendor/bin" >> $GITHUB_PATH
     64          echo "${PWD}/vendor/bin" >> $GITHUB_PATH
    6565
    6666      - name: Run PHP compatibility tests
    67         run: vendor/bin/phpcs --standard=phpcompat.xml.dist -q --report=checkstyle | cs2pr
     67        run: phpcs --standard=phpcompat.xml.dist -q --report=checkstyle | cs2pr