Skip to content

chore(deps): update ramsey/composer-install action to v3 #251

chore(deps): update ramsey/composer-install action to v3

chore(deps): update ramsey/composer-install action to v3 #251

Workflow file for this run

name: CI
on:
push:
workflow_dispatch:
env:
PHP_VERSION: "7.4"
permissions:
contents: read
jobs:
ci:
name: Build and test
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up PHP
uses: shivammathur/setup-php@8872c784b04a1420e81191df5d64fbd59d3d3033 # 2.30.2
with:
php-version: ${{ env.PHP_VERSION }}
coverage: none
env:
fail-fast: true
- name: Install PHP Dependencies
uses: ramsey/composer-install@57532f8be5bda426838819c5ee9afb8af389d51a # 3.0.0
- name: Generate stubs
run: composer generate
- name: Verify stubs
run: php -l wordpress-test-library-stubs.php