Open joshuaziering opened 2 years ago
I don't use docker a lot, but I think the issue start here: https://github.com/psalm/psalm-github-security-scan/blob/master/Dockerfile#L18 We should be using composer 2.0.0 at least
It should resolve issues 3 and 4.
I'm more dubious about 1 and 2, I'm not completely sure which composer file it's talking about
I'll do a fork and see if I can get it to go with that.
Apparently, these errors appear when we run composer install
in the container (see entrypoint.sh
). I believe we shouldn't be doing that at all; we should instead let the action consumer run whatever steps their project requires outside of our container, as the PHP version and extensions they require may differ from what we have in the container.
Hi all,
I'm a little out of depth here but trying to set this up and receive an error similar to problem 1 and 2.
My understanding is as we're using a docker image, and there is no way to run arbitrary code, i can't use this github action.
I could try creating a new image based around yours, or install psalm on the runner during the run.
This action doesn't seem to work because composer is failing. Where would I fix this?