Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove /vendor directory, improve CI job for Rector #1

Merged
merged 2 commits into from
Jul 14, 2021

Conversation

TomasVotruba
Copy link
Contributor

@TomasVotruba TomasVotruba commented Jul 14, 2021

I'm trying to run project locally and doing a bit cleanup, so we have clean table to work with :)

@TomasVotruba TomasVotruba changed the title tv first run Remove /vendor directory, improve CI job for Rector Jul 14, 2021
@TomasVotruba
Copy link
Contributor Author

Ready to merge 👍

@NotionCommotion
Copy link
Owner

Thanks Tomas!!! A clue!

Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 255
!!  PHP Fatal error:  Uncaught Symfony\Component\Dotenv\Exception\PathException: Unable to read the "/home/runner/work/rector-symfony/rector-symfony/.env" environment file. in /home/runner/work/rector-symfony/rector-symfony/vendor/symfony/dotenv/Dotenv.php:565
!!  Stack trace:
!!  #0 /home/runner/work/rector-symfony/rector-symfony/vendor/symfony/dotenv/Dotenv.php(92): Symfony\Component\Dotenv\Dotenv->doLoad()
!!  #1 /home/runner/work/rector-symfony/rector-symfony/vendor/symfony/dotenv/Dotenv.php(114): Symfony\Component\Dotenv\Dotenv->load()
!!  #2 /home/runner/work/rector-symfony/rector-symfony/vendor/symfony/dotenv/Dotenv.php(157): Symfony\Component\Dotenv\Dotenv->loadEnv()
!!  #3 /home/runner/work/rector-symfony/rector-symfony/vendor/symfony/runtime/SymfonyRuntime.php(102): Symfony\Component\Dotenv\Dotenv->bootEnv()
!!  #4 /home/runner/work/rector-symfony/rector-symfony/vendor/autoload_runtime.php(23): Symfony\Component\Runtime\SymfonyRuntime->__construct()
!!  #5 /home/runner/work/rector-symfony/rector-symfony/bin/console(11): require_once('...')
!!  #6 {main}
!!    thrown in /home/runner/work/rector-symfony/rector-symfony/vendor/symfony/dotenv/Dotenv.php on line 565
!!  
Script @auto-scripts was called via post-update-cmd
Error: The process '/usr/local/bin/composer' failed with exit code 255

@NotionCommotion
Copy link
Owner

Never mind about the clue. Just hadn't included .env in the repository. Since added back in. Github actions doesn't show any errors.

@TomasVotruba TomasVotruba deleted the tv-first-run branch July 14, 2021 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants