mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-08-02 12:14:54 +02:00
36 lines
1,010 B
YAML
36 lines
1,010 B
YAML
name: Php Static analysis
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
psalm:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Set up php
|
|
uses: https://github.com/shivammathur/setup-php@v2
|
|
with:
|
|
php-version: 8.2
|
|
tools: composer:v1
|
|
coverage: none
|
|
extensions: redis
|
|
- name: Install dependencies
|
|
run: composer i
|
|
- name: Run coding standards check
|
|
run: composer run psalm
|
|
phpstan:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Set up php
|
|
uses: https://github.com/shivammathur/setup-php@v2
|
|
with:
|
|
php-version: 8.2
|
|
tools: composer:v1
|
|
coverage: none
|
|
extensions: redis
|
|
- name: Install dependencies
|
|
run: composer i
|
|
- name: Run coding standards check
|
|
run: composer run psalm
|