blob: 4417fe08d79aeb0f61ad6b7b43e62f9e9fe35294 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
name: Lint
jobs:
lint:
name: Lint
runs-on: docker
container:
image: node:20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up php 8.3
run: |
apt-get update
apt-get install -y php8.3 php8.3-cli php8.3-mbstring php8.3-xml php8.3-curl php8.3-zip unzip
php -v
- name: Set-up Composer
run: |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php --install-dir=/usr/local/bin --filename=composer
php -r "unlink('composer-setup.php');"
composer --version
- name: Run phpstan
run: ./vendor/bin/phpstan
|