Skip to content

Commit

Permalink
Merge pull request #15 from 2002Bishwajeet/main
Browse files Browse the repository at this point in the history
Feat: add linter workflow
  • Loading branch information
christyjacob4 authored Jul 17, 2023
2 parents 8e8b6cb + 79f1a55 commit e25f113
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Linter"

on: [pull_request]

jobs:
lint:
name: Linter
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2

- 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"

0 comments on commit e25f113

Please sign in to comment.