mikker / passwordless

🗝 Authentication for your Rails app without the icky-ness of passwords
MIT License
1.26k stars 87 forks source link

migrated CI from Travis CI to GitHub Actions workflow, to get CI working again. #109

Closed madogiwa0124 closed 2 years ago

madogiwa0124 commented 2 years ago

This is a PR to migrate to GitHub Action, please close this PR if considering migrating to travis-ci.com, etc.

How about this PR?

Description

Passwordless uses https://travis-ci.org/, but https://travis-ci.org/ expires on June 15, 2021, so it appears that CI is not currently up and running.

Since June 15th, 2021, the building on travis-ci.org is ceased. Please use travis-ci.com from now on. https://travis-ci.org/github/mikker/passwordless

In this PR configuration file, we load the repository secret CODECOV_TOKEN so that reports are sent to codecov. But since I can't set the token, I checked in test_helper so that I can run CI without specifying it.

https://docs.github.com/en/actions/security-guides/encrypted-secrets

I also excluded ruby2.5, which is EOL, from the CI.

Ruby 2.5 status: eol release date: 2017-12-25 EOL date: 2021-03-31 https://www.ruby-lang.org/en/downloads/branches/

Test

I have confirmed that the Github Action runs and succeeds in my repository.

https://github.com/madogiwa0124/passwordless/actions/runs/1566667538

mikker commented 2 years ago

This is wonderful! Thank you very much for setting this up 💙💚💛💜❤️