Skip to content

Commit 4929698

Browse files
committed
add php linting
1 parent f7a892c commit 4929698

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/linting-php.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Linting PHP
3+
4+
on:
5+
- push
6+
- pull_request
7+
# Allow manually triggering the workflow.
8+
- workflow_dispatch
9+
10+
# Cancels all previous workflow runs for the same branch that have not yet completed.
11+
concurrency:
12+
# The concurrency group contains the workflow name and the branch name.
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
lint-php:
18+
runs-on: ubuntu-20.04
19+
steps:
20+
- uses: actions/checkout@v3
21+
- uses: pipeline-components/php-linter@master

0 commit comments

Comments
 (0)