Skip to content

Github Action - Add Token #10

Github Action - Add Token

Github Action - Add Token #10

Workflow file for this run

on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the code
- name: Checkout code
uses: actions/checkout@v3
# Step 2: Set up Docker
- name: Generate CodeSniffer Report
uses: addnab/docker-run-action@v3
with:
image: markoshust/magento-php:8.3-fpm-2
options: -v ${{ github.workspace }}:/var/www/html/src/app/code/Auctane
run: |
composer require --dev magento/magento-coding-standard
composer config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
composer install
vendor/bin/phpcs --standard=Magento2 --runtime-set ignore_warnings_on_exit 1 /var/www/html/src/app/code/Auctane