Skip to content

ci: pin GitHub Actions to full commit SHA #28

ci: pin GitHub Actions to full commit SHA

ci: pin GitHub Actions to full commit SHA #28

Workflow file for this run

name: ci
on:
push:
branches:
- master
pull_request:
jobs:
run-phpunit:
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.3, 7.4, 8.0, 8.1, 8.2]
phpunit: [9]
composer: [2]
include:
- php: 7.0
phpunit: 6
composer: 2.2
- php: 7.1
phpunit: 6
composer: 2.2
- php: 7.2
phpunit: 6
composer: 2.2
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: php-actions/composer@8a65f0d3c6a1d17ca4800491a40b5756a4c164f3 # v6.1.2
with:
version: ${{ matrix.composer }}
php_version: ${{ matrix.php }}
- name: PHPUnit Tests
uses: php-actions/phpunit@1789d1964b1bfda259b1cb42a72b65299c2cae35 # v4
with:
version: ${{ matrix.phpunit }}
php_version: ${{ matrix.php }}
args: --coverage-text