mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 04:36:12 +01:00
[TASK] Move PHP linting to GitHub actions (#28)
This commit is contained in:
parent
8df9b442e1
commit
42cd42cb00
3 changed files with 26 additions and 5 deletions
25
.github/workflows/ci.yml
vendored
Normal file
25
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
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
|
|
@ -32,11 +32,6 @@ install:
|
|||
git checkout .;
|
||||
|
||||
script:
|
||||
- >
|
||||
echo;
|
||||
echo "Linting all PHP files";
|
||||
composer ci:php:lint;
|
||||
|
||||
- >
|
||||
echo;
|
||||
echo "Linting all TypoScript files";
|
||||
|
|
|
@ -16,6 +16,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
|||
- Composer script for PHP linting
|
||||
|
||||
### Changed
|
||||
- Moved PHP linting to GitHub actions (#12)
|
||||
- Use `.typoscript` as file extension for TS files (#19)
|
||||
- Convert the PHP namespaces to "TTN" (#8)
|
||||
- Update the contact email in the CoC document (#6)
|
||||
|
|
Loading…
Reference in a new issue