fix README.md to bugfix path #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Name of workflow | |
| name: PHP CI | |
| # Trigger the workflow on push or pull request | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| # build – произвольно выбранное имя задания | |
| # их может быть больше одного | |
| build: | |
| # The type of machine to run the job on | |
| runs-on: ubuntu-latest | |
| steps: # список шагов, которые надо выполнить | |
| # экшен — выполняет какую-то задачу | |
| # checkout — клонирует репозиторий | |
| # Check-out repository under GitHub workspace | |
| # https://github.com/actions/checkout | |
| - uses: actions/checkout@v4 | |
| # Step's name | |
| - name: Setup PHP | |
| # Action gives to setup the PHP environment to test application | |
| # https://github.com/shivammathur/setup-php | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| # Specify the PHP version | |
| php-version: '8.3' | |
| # Install project | |
| - name: Install project | |
| run: make install | |
| # Run linter | |
| - name: Run linter | |
| run: make lint | |
| # Run tests | |
| - name: Run tests | |
| run: make test | |