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

GitHub Action support on Mac OS i.e. self hosted runners #558

Open
DanielCreagh opened this issue Jan 6, 2023 · 2 comments
Open

GitHub Action support on Mac OS i.e. self hosted runners #558

DanielCreagh opened this issue Jan 6, 2023 · 2 comments

Comments

@DanielCreagh
Copy link

We are migrating from Jenkins to GitHub Actions.

We had Danger running on Jenkins. Copying the same Danger configuration to our GHActions scripts, it seems that danger isn't configured to run on MacOS. We use self hosted GHActions runners to build to iOS and hence we're facing this issue:

Screenshot 2023-01-06 at 14 29 55

Is this something easy to fix?

@orta
Copy link
Member

orta commented Jan 6, 2023

For many years, it wasn't possible to remove a github action from the marketplace - and so that version is very old. However, it looks like it is possible now, and so I've removed it - I'd recommend running through the normal instructions on the site 👍🏻

@f-meloni
Copy link
Member

f-meloni commented Jan 6, 2023

Hey Daniel :)
As Orta mentioned the latest version is the 3.15.0, however Github Actions allows you to use containers only on Linux.
If you don't have any Linux machine available you can use other ways to install + run Danger like using brew to install it, or the SPM configuration.
Another alternative might be to use directly docker to download an execute your command on the Danger-Swift docker container, but that looks probably the most complex of the solutions, and probably is not worth going that path.

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

No branches or pull requests

3 participants