ttrss/.gitea/workflows/lint.yaml

34 lines
607 B
YAML
Raw Normal View History

2023-03-25 04:54:14 +00:00
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: lint
on:
2023-03-28 14:57:17 +00:00
push:
branches-ignore:
- "master"
workflow_dispatch: {}
pull_request: {}
2023-03-25 04:54:14 +00:00
defaults:
run:
shell: sh
jobs:
lint:
runs-on: alpine-3.16
steps:
- name: checkout source
uses: actions/checkout@v3
- name: npm install
run: npm install
- name: eslint
run: npx eslint js plugins
2023-03-25 04:54:14 +00:00
- name: phpunit
run: php81 ./vendor/bin/phpunit
- name: phpstan
run: php81 -d memory_limit=-1 ./vendor/bin/phpstan --memory-limit=2G