Skip to content

chore: Bump phpstan/phpstan from 2.1.25 to 2.1.28 (#51) #50

chore: Bump phpstan/phpstan from 2.1.25 to 2.1.28 (#51)

chore: Bump phpstan/phpstan from 2.1.25 to 2.1.28 (#51) #50

Workflow file for this run

name: Release
on:
push:
branches:
- 'main'
permissions:
contents: write
jobs:
release:
name: Release
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Clone repository
uses: actions/checkout@v5
with:
fetch-depth: '0'
- name: Use PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
tools: composer
- name: Install dependencies
run: |
composer install
- name: Run QA
run: |
composer qa
- name: Get next version
id: get_next_version
uses: thenativeweb/[email protected]
- name: Create new version
if: ${{ steps.get_next_version.outputs.hasNextVersion == 'true' }}
run: |
git tag ${{ steps.get_next_version.outputs.version }}
git push origin ${{ steps.get_next_version.outputs.version }}