File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # Name of workflow
2+ name : PHP CI
3+
4+ # Trigger the workflow on push or pull request
5+ on :
6+ - push
7+ - pull_request
8+
9+ jobs :
10+ # build – произвольно выбранное имя задания
11+ # их может быть больше одного
12+ build :
13+ # The type of machine to run the job on
14+ runs-on : ubuntu-latest
15+
16+ steps : # список шагов, которые надо выполнить
17+ # экшен — выполняет какую-то задачу
18+ # checkout — клонирует репозиторий
19+ # Check-out repository under GitHub workspace
20+ # https://github.com/actions/checkout
21+ - uses : actions/checkout@v4
22+ # Step's name
23+ - name : Setup PHP
24+ # Action gives to setup the PHP environment to test application
25+ # https://github.com/shivammathur/setup-php
26+ uses : shivammathur/setup-php@v2
27+ with :
28+ # Specify the PHP version
29+ php-version : ' 8.3'
30+ # Install project
31+ - name : Install project
32+ run : make install
33+ # Run linter
34+ - name : Run linter
35+ run : make lint
You can’t perform that action at this time.
0 commit comments