racer-rust / racer

Rust Code Completion utility
MIT License
3.36k stars 278 forks source link

Add GitHub Actions CI #1146

Closed Xanewok closed 3 years ago

Xanewok commented 3 years ago

Builds on #1144 (now merged) so that the tests pass.

Fixes #1145

The spin-up time is very fast and a single build runs 3-5 minutes (all 4 builds run in parallel), and so that's an improvement over what we have: AppVeyor runs 5-7 mins, Travis runs 15-20 mins (but needs some time to spin up). This also adds testing for macOS.

See https://github.com/Xanewok/racer/actions/runs/396511445 for a successful run.

r? @kngwyu

Xanewok commented 3 years ago

I believe the action will be only triggered and run once it's committed to stop potentially malicious actors from extracting CI secrets and so on via PRs.

Xanewok commented 3 years ago

Could please also remove .appveyor.yml?

Done. Do you want me to remove .travis.yml as well, if we're removing old CI setup here?

kngwyu commented 3 years ago

Do you want me to remove .travis.yml as well, if we're removing old CI setup here?

Yeah, but let's remove it after watching the actions work. Thanks!