Skip to content

Commit

Permalink
update: PHP 8.2 actions
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbruce committed Mar 30, 2024
1 parent ee5bbff commit e0c1030
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/php82.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: PHP 8.2

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP Action
uses: shivammathur/setup-php@2.15.0
with:
php-version: '8.2'

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Run style check
run: composer run style

- name: Run static analyzer
run: composer run stan

- name: Run tests
run: composer run test

0 comments on commit e0c1030

Please sign in to comment.