mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-22 07:32:18 -05:00
chore(CI): Update rustc
This commit is contained in:
parent
f1e3163ba2
commit
feaad8d94d
2 changed files with 4 additions and 4 deletions
|
@ -1,25 +1,24 @@
|
|||
sudo: false
|
||||
language: rust
|
||||
rust:
|
||||
- 1.31.0 # oldest supported version
|
||||
- stable
|
||||
- beta
|
||||
- nightly
|
||||
matrix:
|
||||
include:
|
||||
- env: RUSTFMT
|
||||
rust: 1.31.0 # `stable`: Locking down for consistent behavior
|
||||
rust: 1.35.0 # `stable`: Locking down for consistent behavior
|
||||
install:
|
||||
- rustup component add rustfmt
|
||||
script:
|
||||
- cargo fmt -- --check
|
||||
- env: RUSTFLAGS="-D warnings"
|
||||
rust: 1.31.0 # `stable`: Locking down for consistent behavior
|
||||
rust: 1.35.0 # `stable`: Locking down for consistent behavior
|
||||
install:
|
||||
script:
|
||||
- cargo check --tests
|
||||
- env: CLIPPY
|
||||
rust: 1.31.0 # `stable`: Locking down for consistent behavior
|
||||
rust: 1.35.0 # `stable`: Locking down for consistent behavior
|
||||
install:
|
||||
- rustup component add clippy
|
||||
script:
|
||||
|
|
1
build.rs
1
build.rs
|
@ -24,6 +24,7 @@ fn main() {
|
|||
for record in &records {
|
||||
let value = format!(r#""{}""#, &record[1]);
|
||||
builder.entry(unicase::UniCase(&record[0]), &value);
|
||||
break;
|
||||
}
|
||||
builder.build(&mut file).unwrap();
|
||||
write!(&mut file, ";\n").unwrap();
|
||||
|
|
Loading…
Reference in a new issue