mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-12-04 20:41:09 +01:00
add lint workflow
This commit is contained in:
parent
563675de09
commit
ca86a0e239
24
.gitea/workflows/lint.yaml
Normal file
24
.gitea/workflows/lint.yaml
Normal file
@ -0,0 +1,24 @@
|
||||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
||||
|
||||
name: lint
|
||||
|
||||
on:
|
||||
- push
|
||||
- workflow_dispatch
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: sh
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: alpine-3.16
|
||||
steps:
|
||||
- name: checkout source
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: phpunit
|
||||
run: php81 ./vendor/bin/phpunit
|
||||
|
||||
- name: phpstan
|
||||
run: php81 -d memory_limit=-1 ./vendor/bin/phpstan --memory-limit=2G
|
||||
Loading…
x
Reference in New Issue
Block a user