google / shaderc-rs

Rust bindings for the shaderc library.
https://docs.rs/shaderc
Apache License 2.0
261 stars 64 forks source link

ci: add format and clippy checks #135

Closed filnet closed 1 year ago

filnet commented 1 year ago

taken from Ash see https://github.com/ash-rs/ash/blob/master/.github/workflows/ci.yml

filnet commented 1 year ago

The clippy and format check should pass when https://github.com/google/shaderc-rs/pull/136 is merged.

PS : I'll rebase this branch once the fix PR is merged.

filnet commented 1 year ago

I reintroduced some clippy warnings. Trying again...

filnet commented 1 year ago

Clippy job now fails because of clippy warnings. Fixing remaining clippy now...

filnet commented 1 year ago

This PR:

Note that ci can now fail spontaneously if, for example, a rust upgrade introduces new default clippy lints.