Skip to content

Issue #125: Selecting a linked image should activate both buttons #45

Issue #125: Selecting a linked image should activate both buttons

Issue #125: Selecting a linked image should activate both buttons #45

Workflow file for this run

name: Code Checks
on: [pull_request]
jobs:
codechecks:
name: PHP_CodeSniffer, JSHint
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- name: Checkout module
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
# No composer, but we need our commandline tool.
tools: none, phpcs
coverage: none
# The checkout action refuses to put it outside, so we have to do it in
# two steps.
- name: Checkout coding standard
uses: actions/checkout@v4
with:
repository: backdrop-ops/phpcs
ref: 1.0.0
path: phpcs
- name: Move standard outside current dir
run: mv phpcs ..
- name: Run CodeSniffer
run: |
phpcs --version
phpcs --standard=../phpcs/Backdrop --report=.github/misc/Github.php -n --basepath=. *
- name: Install and run jshint
if: ${{ always() }}
run: |
sudo npm install --quiet -g jshint
jshint --reporter=.github/misc/reporter.js js