| Server IP : 123.56.80.60 / Your IP : 216.73.216.78 Web Server : Apache/2.4.54 (Win32) OpenSSL/1.1.1s PHP/7.4.33 mod_fcgid/2.3.10-dev System : Windows NT iZhx3sob14hnz7Z 10.0 build 14393 (Windows Server 2016) i586 User : SYSTEM ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/site/20241224/spunner/wp-content/plugins/astra-sites/.github/workflows/ |
Upload File : |
name: CI
# Run the deployment only when code is committed to the branch.
on: pull_request
# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name for pull requests
# or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
lint-and-audit:
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
token: ${{ secrets.PRIVATE_ACCESS_TOKEN }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Use Node.js 18.15
uses: actions/setup-node@v2
with:
node-version: 18.15
cache: 'npm'
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
tools: composer, phpcs, cs2pr
- name: Set composer token
run: composer config github-oauth.github.com ${{ secrets.PRIVATE_ACCESS_TOKEN }}
- name: Composer Install
uses: ramsey/composer-install@v1
- name: NPM Dependencies
if: always()
run: npm install
- name: Run phpcs
run: ./vendor/bin/phpcs
- name: PHP Syntax Errors
if: always()
run: if find . -name "*.php" ! -path "./vendor/*" ! -path "./admin/bsf-core/*" -exec php -l {} \; | grep "Errors parsing"; then exit 1; fi
- name: PHP static analysis
if: always()
run: composer run phpstan