From dd4ca3444d358bcbd40067e04cf223cfd8a682e8 Mon Sep 17 00:00:00 2001 From: Matteo Galacci Date: Wed, 21 Sep 2022 00:01:05 +0200 Subject: [PATCH] build: fix GitHub actions --- .github/workflows/check-dependencies.yml | 5 ++++- .github/workflows/coding-standards.yml | 2 +- .github/workflows/security-analysis.yml | 2 +- .github/workflows/static-analysis.yml | 4 ++-- .github/workflows/tests.yml | 4 ++-- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-dependencies.yml b/.github/workflows/check-dependencies.yml index 4e6919e..f24acde 100644 --- a/.github/workflows/check-dependencies.yml +++ b/.github/workflows/check-dependencies.yml @@ -34,4 +34,7 @@ jobs: ${{ runner.os }}-php- - name: Install dependencies - run: composer install --prefer-dist --no-progress \ No newline at end of file + run: composer install --prefer-dist --no-progress + + - name: Check dependency vulnerabilities + run: ./tools/bin/project/project check-deps-vulnerabilities \ No newline at end of file diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 7fb87e3..5be679b 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -27,4 +27,4 @@ jobs: run: composer install --prefer-dist --no-progress - name: "coding-standard-check" - run: ./tools/bin/project coding-standard-fix-all \ No newline at end of file + run: ./tools/bin/project/project coding-standard-fix-all \ No newline at end of file diff --git a/.github/workflows/security-analysis.yml b/.github/workflows/security-analysis.yml index 374e55e..5027e3f 100644 --- a/.github/workflows/security-analysis.yml +++ b/.github/workflows/security-analysis.yml @@ -27,4 +27,4 @@ jobs: run: composer install --prefer-dist --no-progress - name: "running security analysis ( psalm )" - run: ./tools/bin/project security-analysis \ No newline at end of file + run: ./tools/bin/project/project security-analysis \ No newline at end of file diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 5567340..4b79119 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -29,7 +29,7 @@ jobs: run: composer install --prefer-dist --no-progress - name: "running static analysis" - run: ./tools/bin/project psalm + run: ./tools/bin/project/project psalm - name: "calculating type coverage" - run: ./tools/bin/project type-coverage \ No newline at end of file + run: ./tools/bin/project/project type-coverage \ No newline at end of file diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 37fab17..b7d806e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,13 +29,13 @@ jobs: run: composer install --prefer-dist --no-progress - name: Create Schema - run: ./tools/bin/project schema-create + run: ./tools/bin/project/project schema-create - name: "Run unit tests (PHPUnit)" env: XDEBUG_MODE: coverage - run: ./tools/bin/project coverage + run: ./tools/bin/project/project coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v2