composer icon indicating copy to clipboard operation
composer copied to clipboard

composer github action

Composer action

GitHub license

Description

Github action for using composer in your workflows. The action comes with hirak/prestissimo preinstalled.
Uses the new YML syntax.

Versions

Supported versions

php7.4: Based on php:7.4-cli-alpine with composer and hirak/prestissimo
php7.3: Based on php:7.3-cli-alpine with composer and hirak/prestissimo

Deprecated versions

0.2.0 uses a pre-built docker image composer-prestissimo (basing on the official composer image). This improves build time (is now around 13s), since now the action only needs to pull instead of building it every time.

0.1.1 uses the the offical composer docker image directly and installs hirak/prestissimo.
Due to this, the image is freshly built everytime (roughly 31s).

Example usage

steps:
  - name: Run composer
    uses: nick-zh/composer-php@master
    with:
      action: 'install -oa'