I’m testing out using a self-hosted runner for my project https://github.com/PhpGt/Dom
I use Github actions to run my unit tests. Running the actions using Github-hosted runners executes fine, but it’s really slow, which is why I’m experimenting with running my own.
When the self-hosted runner executes, a step fails when trying to install dependencies. The error message states that Composer could not find a composer.json file in /github/workspace. My assumption here is that the mounted directory at /github/workspace is empty.
Here is a FAILING run on my self-hosted runner using runs-on: self-hosted https://github.com/PhpGt/Dom/runs/499257107
Here is a SUCCESSFUL run on Github-hosted runner using runs-on: ubuntu https://github.com/PhpGt/Dom/runs/499269016
I can’t figure out what the difference is, apart from where the runner is hosted, which shouldn’t make any difference due to it all being dockerised.
Any advice on how I can track this issue down is appreciated!