Skip to content

Commit db07253

Browse files
init
1 parent 2a10d80 commit db07253

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Set up PHP
19+
uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e
20+
with:
21+
php-version: "8.3"
22+
23+
- name: Checkout code
24+
uses: actions/checkout@v3
25+
26+
- name: Validate composer.json and composer.lock
27+
run: composer validate --strict
28+
29+
- name: Install dependencies
30+
run: composer install --prefer-dist --no-interaction --no-progress
31+
32+
- name: Validate PHP PSR
33+
run: composer run-script php-fixer

0 commit comments

Comments
 (0)