Skip to content

Commit 0ed20a0

Browse files
committed
Add Pint action
1 parent be1f46c commit 0ed20a0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/pint.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Build Assets
2+
3+
on: pull_request
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
11+
- run: composer update
12+
13+
- run: ./vendor/bin/pint
14+
15+
- run: |
16+
git config --global user.name 'Simon Hamp'
17+
git config --global user.email 'simon.hamp@me.com'
18+
if git add * ; then
19+
git commit -m "Code style fixes"
20+
git push
21+
fi

0 commit comments

Comments
 (0)