UltraMachine / rust-sc2

SC2 API for Rust
MIT License
38 stars 19 forks source link

Add Rust GitHub Actions #8

Closed danielvschoor closed 4 years ago

danielvschoor commented 4 years ago

This currently builds the library on Mac, Windows and Ubuntu, runs tests, runs Clippy(it will fail on warnings) and runs cargo fmt (which will fail the CI job if the files aren't correctly formatted)

danielvschoor commented 4 years ago

Here is an example: https://github.com/danielvschoor/rust-sc2/pull/1/checks?check_run_id=1241198467

It currently fails because of Clippy (2 deprecated lints) and because of Rustfmt (some files aren't formatted correctly)

danielvschoor commented 4 years ago

I have commented out the tests, since tests does not seem to be working at the moment.

danielvschoor commented 4 years ago

This is now ready to be merged