servo / stylo

70 stars 15 forks source link

Use --locked when building in CI #20

Closed Loirooriol closed 6 months ago

Loirooriol commented 6 months ago

Thus the build will fail if a PR modifies Cargo.toml but forgets to include the changes in Cargo.lock

Loirooriol commented 6 months ago

See https://doc.rust-lang.org/cargo/commands/cargo-build.html#manifest-options

Loirooriol commented 6 months ago

Works as expected: