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
phpunit 404: Not found with v2.25.3 #743
Comments
change tools: phpunit:9 to tools: phpunit it will pull the correct version of phpunit for the version of php you are running per the commit last night the readme here needs to be updated. |
I am doubtful this is the intention. The version, if specified, is still taken into consideration. And fetching https://phar.phpunit.de/phpunit-9.phar, for instance, would always redirect to the latest phpunit v9 release phar. And when going through the code it actually looks all right, but the "404: Not Found" is a result from the fetch. My guess is somehow somewhere the destination url is composed wrongly, alas I could not figure out where so far. |
Requested URL: https://api.github.com/repos/phpunit/phpunit/git/matching-refs/tags%2F9. -> results in 404 |
Aye, the repository was changed in that commit, this fits. |
@blizzz @SystemKeeper @gman-wa Fixed in |
No worries, thank you for the quick fix @shivammathur :) |
Describe the bug
With today's v2.25.3 the installation of phpunit:9 fails. Going back to 2.25.2 has it succeeding.
Version
v1
orv2
.v2
v1
Runners
Operating systems
Ubuntu-20.04
PHP versions
8.0, 8.1, 8.2
To Reproduce
Expected behavior
In the Set Up PHP 8.x step we expect phpunit to be added correctly, like:
Screenshots/Logs
Additional context
When we use setup-php/setup-php@c5fc0d8 (2.25.2) we get the expected behaviour.
Are you willing to submit a PR?
Not familiar with typescript or writing actions :(
The text was updated successfully, but these errors were encountered: