mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-25 02:20:58 -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
|
sudo: false
|
||||||
language: rust
|
language: rust
|
||||||
rust:
|
rust:
|
||||||
- 1.31.0 # oldest supported version
|
|
||||||
- stable
|
- stable
|
||||||
- beta
|
- beta
|
||||||
- nightly
|
- nightly
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- env: RUSTFMT
|
- env: RUSTFMT
|
||||||
rust: 1.31.0 # `stable`: Locking down for consistent behavior
|
rust: 1.35.0 # `stable`: Locking down for consistent behavior
|
||||||
install:
|
install:
|
||||||
- rustup component add rustfmt
|
- rustup component add rustfmt
|
||||||
script:
|
script:
|
||||||
- cargo fmt -- --check
|
- cargo fmt -- --check
|
||||||
- env: RUSTFLAGS="-D warnings"
|
- 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:
|
install:
|
||||||
script:
|
script:
|
||||||
- cargo check --tests
|
- cargo check --tests
|
||||||
- env: CLIPPY
|
- env: CLIPPY
|
||||||
rust: 1.31.0 # `stable`: Locking down for consistent behavior
|
rust: 1.35.0 # `stable`: Locking down for consistent behavior
|
||||||
install:
|
install:
|
||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
script:
|
script:
|
||||||
|
|
1
build.rs
1
build.rs
|
@ -24,6 +24,7 @@ fn main() {
|
||||||
for record in &records {
|
for record in &records {
|
||||||
let value = format!(r#""{}""#, &record[1]);
|
let value = format!(r#""{}""#, &record[1]);
|
||||||
builder.entry(unicase::UniCase(&record[0]), &value);
|
builder.entry(unicase::UniCase(&record[0]), &value);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
builder.build(&mut file).unwrap();
|
builder.build(&mut file).unwrap();
|
||||||
write!(&mut file, ";\n").unwrap();
|
write!(&mut file, ";\n").unwrap();
|
||||||
|
|
Loading…
Reference in a new issue