chore: update workflows from templates #442
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test cli | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- master | |
- stable* | |
permissions: | |
contents: read | |
jobs: | |
test-cli: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-versions: ["8.1"] | |
name: test-cli | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up php ${{ matrix.php-versions }} | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip | |
coverage: none | |
ini-file: development | |
- name: Install dependencies | |
run: composer i | |
- name: test-cli | |
run: make test-cli |