auth0 / ruby-auth0

Ruby toolkit for Auth0 API
https://auth0.com/
MIT License
201 stars 136 forks source link

test: Migrate CI to GitHub #523

Closed evansims closed 1 year ago

evansims commented 1 year ago

Changes

This pull request replaces our current CircleCI continuous integration suite for auth0-react with a new workflow using GitHub Actions.

References

Please see internal ticket SDK-4457.

Testing

This pull request replaces our continuous integration suite with one built in GitHub's native Actions ecosystem. It aligns with other migrations taking place across our repositories.

Checklist

github-advanced-security[bot] commented 1 year ago

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

evansims commented 1 year ago

@stevehobbsdev Thanks for your review! I've removed the gem-release dependency and updated the publishing workflow. I think I caught all the related bits and pieces, but let me know if I happened to overlook one.

Did a bit of research and found the reason GitHub suggests this approach. RubyGems < 3.0.5 did not support GEM_HOST_API_KEY variable for gem push, and instead required the use of that credentials file. So this approach covers all cases. I don't expect we'll have such an old version of it floating about these days, so it's indeed safe to remove that aspect 👍