mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-12-22 23:46:10 +01:00
[TASK] Move TypoScript linting to GitHub actions (#32)
This commit is contained in:
parent
f5cd65ec94
commit
073c03137d
3 changed files with 16 additions and 5 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
@ -24,6 +24,21 @@ jobs:
|
|||
- 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
|
||||
|
||||
|
|
|
@ -32,11 +32,6 @@ install:
|
|||
git checkout .;
|
||||
|
||||
script:
|
||||
- >
|
||||
echo;
|
||||
echo "Linting all TypoScript files";
|
||||
composer ci:ts:lint;
|
||||
|
||||
- >
|
||||
echo;
|
||||
echo "Running the unit tests";
|
||||
|
|
|
@ -16,6 +16,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
|||
- Composer script for PHP linting
|
||||
|
||||
### Changed
|
||||
- Move TypoScript linting to GitHub actions (#14)
|
||||
- Move PHP code sniffing to GitHub actions (#13)
|
||||
- Move PHP linting to GitHub actions (#12)
|
||||
- Use `.typoscript` as file extension for TS files (#19)
|
||||
|
|
Loading…
Reference in a new issue