From 564abb99d680a19f0333423bb6a894b81b8c70cc Mon Sep 17 00:00:00 2001 From: Andrea Pollastri Date: Mon, 13 Nov 2023 16:52:48 +0100 Subject: [PATCH] Pipeline... --- .github/workflows/lint.yml | 12 ++++++++++++ .github/workflows/tests.yml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..e858168 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,12 @@ +# .github/workflows/lint.yml + +on: [push, pull_request] + +jobs: + php-cs-fixer: + name: PHP-CS-Fixer + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: PHP-CS-Fixer + uses: docker://oskarstark/php-cs-fixer-ga diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 74a03c8..065f4e1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2