From 073c03137dddeb75bc6c58c245ebbea8739fee62 Mon Sep 17 00:00:00 2001 From: Andreas Wolf Date: Sat, 7 Dec 2019 17:00:50 +0100 Subject: [PATCH] [TASK] Move TypoScript linting to GitHub actions (#32) --- .github/workflows/ci.yml | 15 +++++++++++++++ .travis.yml | 5 ----- CHANGELOG.md | 1 + 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 697435c..89fdf5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.travis.yml b/.travis.yml index bc159f9..edbee6e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,11 +32,6 @@ install: git checkout .; script: -- > - echo; - echo "Linting all TypoScript files"; - composer ci:ts:lint; - - > echo; echo "Running the unit tests"; diff --git a/CHANGELOG.md b/CHANGELOG.md index 4820d8d..db9dd7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)