Skip to content

Commit 727c503

Browse files
committed
GitHub Actions: Add Composer Normalize workflow
1 parent 7f14fb4 commit 727c503

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Composer Normalize
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
paths:
9+
- .github/workflows/composer-normalize.yml
10+
- composer.*
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref_name }}
14+
cancel-in-progress: true
15+
16+
permissions: {}
17+
18+
jobs:
19+
pint:
20+
uses: typisttech/.github/.github/workflows/composer-normalize.yml@composer-normalize
21+
permissions:
22+
contents: read
23+
secrets: inherit

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"pest:feature": "pest --group=feature",
6161
"pest:unit": "pest --group=unit",
6262
"test": [
63+
"@composer normalize --dry-run",
6364
"pint --test",
6465
"XDEBUG_MODE=off pest"
6566
]

0 commit comments

Comments
 (0)