From 81a8ecaf734d4e5ca86b1fc8e0e94c13621b0ee3 Mon Sep 17 00:00:00 2001 From: Brandon Shipley Date: Fri, 23 Jan 2026 01:43:17 -0800 Subject: [PATCH] phpcs and phpstan uplaod artifacts working for tst file --- .gitea/workflows/ci.yaml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 49d3aef..d43ffed 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -126,10 +126,21 @@ jobs: composer install --no-progress --prefer-dist --optimize-autoloader fi - - run: mkdir -p art - - run: echo hello > art/world.txt + - name: Run phpstan + run: vendor/bin/phpstan analyse src tests --error-format=github > phpstan.errors + + - name: Run phpcs + run: composer cs-check > phpcs.errors + + - run: mkdir -p artifacts - uses: https://github.com/christopherHX/gitea-upload-artifact@v4 with: - name: my-artifact - path: art/world.txt + name: phpstan + path: artifacts/phpstan.errors + + - uses: https://github.com/christopherHX/gitea-upload-artifact@v4 + with: + name: phpcs + path: artifacts/phpcs.errors +