Skip to content

chore(main): release 1.4.0 #1715

chore(main): release 1.4.0

chore(main): release 1.4.0 #1715

Workflow file for this run

name: PHP Unit CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: [ '8.1','8.2','8.3' ]
name: PHP ${{ matrix.php-versions }} Unit Test
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
gcr.io:443
github.com:443
objects.githubusercontent.com:443
packagist.org:443
packagist.org:80
production.cloudflare.docker.com:443
registry-1.docker.io:443
repo.packagist.org:443
repo.packagist.org:80
storage.googleapis.com:443
auth.docker.io:443
*.githubusercontent.com:443
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Uses PHP ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2
with:
php-version: ${{ matrix.php-versions }}
- name: Install Dependencies
uses: nick-invision/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0
with:
timeout_minutes: 10
max_attempts: 3
command: composer install
- name: Run Script
run: vendor/bin/phpunit