Skip to content

Bump bluehorndigital/setup-drupal from 1.0.4 to 1.1.0 #52

Bump bluehorndigital/setup-drupal from 1.0.4 to 1.1.0

Bump bluehorndigital/setup-drupal from 1.0.4 to 1.1.0 #52

Workflow file for this run

# This workflow is used for testing the phpcs action of this repository.
name: Test action
on: pull_request
jobs:
test:
name: Setup php
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
- name: Setup PHP, with composer and extensions
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: '7.4'
tools: composer:v2
extensions: dom, curl, libxml, mbstring, zip, pdo, mysql, pdo_mysql, bcmath, gd, exif, iconv
- name: Setup Drupal
uses: bluehorndigital/[email protected]
with:
version: '^9.1'
path: drupal
- name: Install phpcs
working-directory: drupal
run: composer require squizlabs/php_codesniffer dealerdirect/phpcodesniffer-composer-installer
- name: Copy phpcs rules
uses: canastro/[email protected]
with:
source: "test-assets/phpcs.xml"
target: "drupal/phpcs.xml"
- name: Run phpcs
uses: ./
with:
path: drupal
reviewdog_token: ${{ secrets.GITHUB_TOKEN }}