Skip to content

Update tibdex/github-app-token action to v2 #71

Update tibdex/github-app-token action to v2

Update tibdex/github-app-token action to v2 #71

Workflow file for this run

name: Composer, Linter, and Tests
on:
pull_request:
branches: [main]
types: [opened, reopened, synchronize]
jobs:
Run-Tests:
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 🛠️ Setup PHP
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # 2.32.0
with:
php-version: "8.1"
tools: composer, cs2pr
- name: 🔍 Validate composer.json and composer.lock
run: composer validate
- name: 📦 Install dependencies
run: composer install --prefer-dist --no-progress
- name: ✨ Run PHP CodeSniffer
run: vendor/bin/phpcs --standard=PSR2 --extensions=php --exclude=Generic.Files.LineLength src
- name: 🧪 Run PHPUnit tests
run: composer run-script test