chore(main): release 0.1.1 #9
Workflow file for this run
This file contains 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: Continous integration pipeline | |
on: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
php: [ 8.4 ] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: json, dom, curl, libxml, mbstring | |
coverage: none | |
- name: Install Pint | |
run: composer global require laravel/pint | |
- name: Run Pint | |
run: pint --test -v | |
static-analysis: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
php: [ 8.4 ] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
coverage: none | |
- name: Install dependencies | |
run: composer update --prefer-stable --prefer-dist --no-interaction --no-progress | |
- name: Create database | |
run: php artisan migrate --force | |
- name: Generate helpers | |
run: composer run-script ide-helper-generate | |
- name: Run PHPStan | |
run: vendor/bin/phpstan analyse --memory-limit=2G |