From 4634622d44f6a4aa75281842e0db49eb2f4866a0 Mon Sep 17 00:00:00 2001 From: krishneetRAJ <166553571+krishneetRAJ@users.noreply.github.com> Date: Tue, 17 Dec 2024 01:17:34 +0000 Subject: [PATCH] Added linter workflow --- .github/workflows/linter.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index bca79de9..28f4c6a0 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -7,14 +7,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v3 - with: - fetch-depth: 2 + - name: Check out the repo + uses: actions/checkout@v2 - - run: git checkout HEAD^2 - - - name: Run Linter - run: | - docker run --rm -v $PWD:/app composer sh -c \ - "composer install --profile --ignore-platform-reqs && composer lint" + - name: Run Linter + run: | + docker run --rm -v $PWD:/app composer sh -c \ + "composer install --profile --ignore-platform-reqs && composer lint" \ No newline at end of file