Skip to content

Add a self-update command for the standalone PHAR #90

Add a self-update command for the standalone PHAR

Add a self-update command for the standalone PHAR #90

name: coding-standards
on:
push:
branches:
- main
- 1.x
- 2.x
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
coding-standards:
runs-on: ubuntu-latest
name: Coding Standards
steps:
- name: Checkout Code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup PHP
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
with:
php-version: '8.4'
tools: composer:v2
coverage: none
- name: Install Dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Run Static Analysis
run: composer analyse
- name: Run Lint Check
run: composer lint:check
- name: Run Type Coverage
run: composer test:types