Skip to content

Commit

Permalink
analyse-php.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
freescout-help-desk committed Sep 23, 2023
1 parent 912b805 commit e68e8ef
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 26 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/analyse-php.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: PHP Static Analysis

on:
push:
branches:
- master
- dist
workflow_dispatch:

jobs:
build:
name: PHP Static Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
extensions: mysql, mbstring, xml, imap, zip, gd, curl, intl, json

- name: Install composer dependencies
run: composer install --ignore-platform-reqs --no-interaction

- name: Run analysis
run: phpstan --memory-limit=2g
21 changes: 0 additions & 21 deletions .github/workflows/lint-js.yml

This file was deleted.

6 changes: 1 addition & 5 deletions .github/workflows/lint-php.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: lint-php
name: Lint PHP

on:
push:
branches:
- master
- dist
workflow_dispatch:

jobs:
Expand Down

0 comments on commit e68e8ef

Please sign in to comment.