PHP Classes

File: .github/workflows/lint.yml

Recommend this page to a friend!
  Classes of Carlos Artur Curvelo da Matos   Mnemosyne Attributes based PHP caching   .github/workflows/lint.yml   Download  
File: .github/workflows/lint.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Mnemosyne Attributes based PHP caching
Cache class functions' output using annotations
Author: By
Last change:
Date: 10 days ago
Size: 819 bytes
 

Contents

Class file image Download
name: PHP Lint on: push: branches: - main pull_request: branches: - main jobs: lint: runs-on: ubuntu-latest strategy: matrix: php-version: ['8.2'] steps: - name: Checkout code uses: actions/checkout@v2 - name: Set up PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} - name: Install PHP_CodeSniffer run: composer global require "squizlabs/php_codesniffer=*" - name: Run PHP_CodeSniffer run: ~/.composer/vendor/bin/phpcs - name: Upload PHP_CodeSniffer results if: always() uses: actions/upload-artifact@v4 with: name: phpcs-results path: phpcs.xml - name: Display PHP_CodeSniffer results if: always() run: cat phpcs.xml