Skip to content

Bump the github-actions group with 4 updates (#177) #54

Bump the github-actions group with 4 updates (#177)

Bump the github-actions group with 4 updates (#177) #54

name: continuous integration
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
continuous-integration:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- name: Setup PHP
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240
with:
php-version: '8.4'
tools: composer
- name: Get Composer Cache Directory
id: composer-cache
run: |
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- run: composer install
- run: composer lint
- run: composer phpstan