Skip to content

Commit 9579566

Browse files
committed
fix: disable warnings in CI
also remove the COLUMNS setting that's been fucking up my CLI tests
1 parent a990d35 commit 9579566

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ on:
77
branches: [main]
88

99
env:
10-
COLUMNS: 250
1110
CARGO_INCREMENTAL: 0
12-
# TODO: Would be nice to disable warnings here too, but there are too many of them.
13-
RUSTFLAGS: "-W rust-2021-compatibility"
11+
RUSTFLAGS: "-W rust-2021-compatibility -D warnings"
1412
RUST_BACKTRACE: short
1513
NEXTEST_PROFILE: ci
1614
CI: 1

tests/ui-tests/tests/cases/enum-guess-validation.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ mod schema {
99
schema_path = "../../../../schemas/simple.graphql",
1010
graphql_type = "Desseqt"
1111
)]
12+
#[allow(non_camel_case_types)]
1213
enum Dessert {
1314
CHEESECAKE,
1415
ICE_CREAM,

0 commit comments

Comments
 (0)