shivammathur / setup-php

GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.
https://setup-php.com
MIT License
2.89k stars 337 forks source link

Laravel pint no longer found #765

Closed lionslair closed 1 year ago

lionslair commented 1 year ago

Describe the bug Laravel pint not found. This is across multiple repositories

Version

Runners

Operating systems ubuntu-latest

PHP versions 8.1 8.2

To Reproduce

      - name: Setup PHP with tools
        uses: shivammathur/setup-php@v2
        with:
          php-version: '8.2'
          tools: pint

Expected behavior Runs laravel pint

Screenshots/Logs

image

image

image

Additional context


0s
Run pint
  pint
  shell: /usr/bin/bash -e {0}
  env:
    COMPOSER_PROCESS_TIMEOUT: 0
    COMPOSER_NO_INTERACTION: 1
    COMPOSER_NO_AUDIT: 1
/usr/local/bin/pint: line 1: Not: command not found
Error: Process completed with exit code 127.
shivammathur commented 1 year ago

@driesvints

I'm not sure why $GITHUB_REF was empty in the release workflow run. It should have been refs/tags/v1.13.0. https://github.com/laravel/pint/actions/runs/6086886120

Please dispatch it manually for v1.13.0.

shivammathur commented 1 year ago

The phar release workflow worked for v1.13.1. So closing this now.

driesvints commented 1 year ago

Thanks @shivammathur. Not sure what went wrong there