mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
chore(CI): Upgrade rustc
Was running into problems with clippy and typos-codegen
This commit is contained in:
parent
23faf30f24
commit
7a637c7609
2 changed files with 6 additions and 6 deletions
|
@ -7,24 +7,24 @@ rust:
|
|||
matrix:
|
||||
include:
|
||||
- env: RUSTFMT
|
||||
rust: 1.35.0 # `stable`: Locking down for consistent behavior
|
||||
rust: 1.38.0 # `stable`: Locking down for consistent behavior
|
||||
install:
|
||||
- rustup component add rustfmt
|
||||
script:
|
||||
- cargo fmt --all -- --check
|
||||
- env: CodeGen
|
||||
rust: 1.35.0 # `stable`: Locking down for consistent behavior
|
||||
rust: 1.38.0 # `stable`: Locking down for consistent behavior
|
||||
install:
|
||||
- rustup component add rustfmt
|
||||
script:
|
||||
- cargo run --package typos-codegen -- --input typos-dict/assets/words.csv --output typos-dict/src/dict_codegen.rs --check
|
||||
- env: RUSTFLAGS="-D warnings"
|
||||
rust: 1.35.0 # `stable`: Locking down for consistent behavior
|
||||
rust: 1.38.0 # `stable`: Locking down for consistent behavior
|
||||
install:
|
||||
script:
|
||||
- cargo check --tests --all
|
||||
- env: CLIPPY
|
||||
rust: 1.35.0 # `stable`: Locking down for consistent behavior
|
||||
rust: 1.38.0 # `stable`: Locking down for consistent behavior
|
||||
install:
|
||||
- rustup component add clippy
|
||||
script:
|
||||
|
|
|
@ -36,7 +36,7 @@ impl CheckSettings {
|
|||
|
||||
pub fn build<'d, 'p>(
|
||||
&self,
|
||||
dictionary: &'d Dictionary,
|
||||
dictionary: &'d dyn Dictionary,
|
||||
parser: &'p tokens::Parser,
|
||||
) -> Checks<'d, 'p> {
|
||||
Checks {
|
||||
|
@ -61,7 +61,7 @@ impl Default for CheckSettings {
|
|||
|
||||
#[derive(Clone)]
|
||||
pub struct Checks<'d, 'p> {
|
||||
dictionary: &'d Dictionary,
|
||||
dictionary: &'d dyn Dictionary,
|
||||
parser: &'p tokens::Parser,
|
||||
check_filenames: bool,
|
||||
check_files: bool,
|
||||
|
|
Loading…
Reference in a new issue