Skip to content

Skeleton project updates #1

Skeleton project updates

Skeleton project updates #1

Workflow file for this run

name: PHP Unitary
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
env:
COMPOSER_ROOT_VERSION: 2.x-dev
steps:
- uses: actions/checkout@v4
- name: Cache Composer packages
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run test suite
run: php vendor/bin/unitary