Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6aa1ff9

Browse files
ci: add github workflow
1 parent c96ae9b commit 6aa1ff9

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:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
php-versions: ['8.0', '8.1', '8.2']
17+
18+
name: PHP ${{ matrix.php-versions }}
19+
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: 🐘 Setup PHP
24+
uses: shivammathur/setup-php@v2
25+
with:
26+
php-version: ${{ matrix.php-versions }}
27+
tools: composer:v2
28+
29+
- name: ⬇️ Install dependencies
30+
run: composer install
31+
32+
- name: 🏮 Lint
33+
run: ./vendor/bin/ecs check

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /