diff options
| author | Asko Nõmm <asko@nth.ee> | 2024-11-12 17:38:31 +0200 |
|---|---|---|
| committer | Asko Nõmm <asko@nth.ee> | 2024-11-12 17:38:31 +0200 |
| commit | adc0dfe77902fbcb57061c4b64370dcb0d854573 (patch) | |
| tree | 05fe86a23408c591c62ec6b9cb8eae160de8c13b /.github/workflows/lint.yml | |
| parent | 7b68bf0c456fc44c067e1303f73752059df59aa0 (diff) | |
Add phpstan
Diffstat (limited to '.github/workflows/lint.yml')
| -rw-r--r-- | .github/workflows/lint.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..fad6051 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,25 @@ +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] +name: Lint +jobs: + lint: + name: Lint + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Set up php 8.3 + uses: shivammathur/setup-php@v2 + with: + php-version: "8.3" + + - name: Set-up Composer + uses: php-actions/composer@v6 + + - name: Run phpstan + run: ./vendor/bin/phpstan |
