1
0
Fork 0
mirror of synced 2024-07-09 08:27:01 +12:00
appwrite/.github/workflows/linter.yml

21 lines
404 B
YAML
Raw Normal View History

2022-06-01 03:09:45 +12:00
name: "Linter"
on: [pull_request]
jobs:
2022-09-08 16:47:47 +12:00
lint:
2022-06-01 03:09:45 +12:00
name: Linter
2022-06-01 03:18:12 +12:00
runs-on: ubuntu-latest
2022-06-01 03:09:45 +12:00
steps:
- name: Checkout repository
2022-09-08 17:00:11 +12:00
uses: actions/checkout@v3
2022-06-01 03:09:45 +12:00
with:
fetch-depth: 2
- run: git checkout HEAD^2
- name: Run Linter
2022-09-08 16:26:33 +12:00
run: |
2022-09-08 17:00:11 +12:00
docker run --rm -v $PWD:/app composer sh -c \
"composer install --profile --ignore-platform-reqs && composer lint"