From d588de2cb570d657b099eb99d39fa5654862fc44 Mon Sep 17 00:00:00 2001 From: vigneshk-tw Date: Mon, 7 Oct 2024 10:37:35 +0530 Subject: [PATCH] adds step in the pipeline --- .github/workflows/build-lint-test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index 817ae935..85b9ba73 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -29,4 +29,13 @@ jobs: - name: Validate PHP Syntax run: find . -path ./vendor -prune -o -name "*.php" -exec php -l {} \; > /dev/null || exit 1 + working-directory: xero-php-oauth2 + + - name: Check for Vulnerabilities + run: | + composer audit || exit 1 + working-directory: xero-php-oauth2 + + - name: Check for Outdated Packages + run: composer outdated working-directory: xero-php-oauth2 \ No newline at end of file