simplecov-check-action
simplecov-check-action copied to clipboard
Use api url from environment (fix for GHES), use debian image, fix specs
Hi, this is a fix for using Github Enterprise Server API url. I've also updated the Dockerfile to use the slim image as opposed to alpine. My environment has DNS issues related to alpine images, this is a well documented issue that has to do with alpines use of musl C library.
I've also fixed the specs, whose failure was unrelated to this PR.
@steve21168 Thanks for digging into the spec failures and the update to the enterprise server api. There was a recently merged pull request here: https://github.com/joshmfrankel/simplecov-check-action/pull/20 which may fix your underlying issue.
@joshmfrankel Hi thanks for the response. This should fix the GH api url issue. Unfortunately I still suffer from the alpine image issue. Just tested and I get an error message:
/usr/local/lib/ruby/3.1.0/socket.rb:227:in `getaddrinfo': Failed to open TCP connection ...
This is somewhat specific to my environment but I doubt I am the only one. Would you consider a PR just changing to the slim image?
@steve21168 Sure thing! Change this PR from updating the api url to just updating alpine => slim and we're good to go 👍🏻