Skip to content

fix: OnceExecutor to runnable #24

fix: OnceExecutor to runnable

fix: OnceExecutor to runnable #24

Workflow file for this run

name: PHP Composer CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: "Cache tools installed with PHIVE"
uses: "actions/cache@v3"
with:
path: "${{ runner.temp }}/.phive"
key: "php-${{ matrix.php-version }}-phive-${{ hashFiles('.phive/phars.xml') }}"
restore-keys: "php-${{ matrix.php-version }}-phive-"
- name: "Install PHIVE"
uses: "szepeviktor/phive@v1"
with:
home: "${{ runner.temp }}/.phive"
binPath: "${{ github.workspace }}/tools/phive"
- name: "Install PHP tools with PHIVE"
uses: "szepeviktor/phive-install@v1"
with:
home: "${{ runner.temp }}/.phive"
binPath: "${{ github.workspace }}/tools/phive"
trustGpgKeys: "E82B2FB314E9906E,12CE0F1D262429A5,2DF45277AEF09A2F,51C67305FFC2E5C0,8101FB57DD8130F0"
- name: Run CI script
run: composer run-script ci