mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-13 01:36:13 +01:00
tea/.github/workflows/ci.yml

56 lines
905 B
YAML
Raw Normal View History

on:
- pull_request
- push
name: CI
jobs:
php-lint:
name: PHP linter
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- 7.2
- 7.3
- 7.4
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Run PHP lint
run: composer ci:php:lint
typoscript-lint:
name: TypoScript linter
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Composer dependencies
run: composer install --no-progress
- name: Run PHP lint
run: composer ci:ts:lint
php-code-sniffer:
name: PHP Code Sniffer
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Composer dependencies
run: composer install --no-progress
- name: Run PHP Code Sniffer
run: composer ci:php:sniff