Issue #127: Firefox: floated images wrapped in links #46
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |