mirror of
https://codeberg.org/icewind/flakelight-php.git
synced 2026-06-03 09:54:20 +02:00
more readme
This commit is contained in:
parent
a7d73a9537
commit
9305bd7c85
1 changed files with 22 additions and 1 deletions
23
README.md
23
README.md
|
|
@ -5,9 +5,12 @@ An opinionated php module for
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
Included checks:
|
The following checks are automatically enabled if your project contains the
|
||||||
|
relevant configuration files:
|
||||||
|
|
||||||
- php-cs-checker
|
- php-cs-checker
|
||||||
|
- psalm
|
||||||
|
- phpstan
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
@ -24,3 +27,21 @@ Included checks:
|
||||||
flakelight-php ./. {};
|
flakelight-php ./. {};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## CI Usage
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
name: "CI"
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
checks:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: cachix/install-nix-action@v26
|
||||||
|
# insert cache setup here
|
||||||
|
- run: nix flake check --keep-going
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue