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:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- env: RUSTFMT
|
- env: RUSTFMT
|
||||||
rust: 1.35.0 # `stable`: Locking down for consistent behavior
|
rust: 1.38.0 # `stable`: Locking down for consistent behavior
|
||||||
install:
|
install:
|
||||||
- rustup component add rustfmt
|
- rustup component add rustfmt
|
||||||
script:
|
script:
|
||||||
- cargo fmt --all -- --check
|
- cargo fmt --all -- --check
|
||||||
- env: CodeGen
|
- env: CodeGen
|
||||||
rust: 1.35.0 # `stable`: Locking down for consistent behavior
|
rust: 1.38.0 # `stable`: Locking down for consistent behavior
|
||||||
install:
|
install:
|
||||||
- rustup component add rustfmt
|
- rustup component add rustfmt
|
||||||
script:
|
script:
|
||||||
- cargo run --package typos-codegen -- --input typos-dict/assets/words.csv --output typos-dict/src/dict_codegen.rs --check
|
- cargo run --package typos-codegen -- --input typos-dict/assets/words.csv --output typos-dict/src/dict_codegen.rs --check
|
||||||
- env: RUSTFLAGS="-D warnings"
|
- 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:
|
install:
|
||||||
script:
|
script:
|
||||||
- cargo check --tests --all
|
- cargo check --tests --all
|
||||||
- env: CLIPPY
|
- env: CLIPPY
|
||||||
rust: 1.35.0 # `stable`: Locking down for consistent behavior
|
rust: 1.38.0 # `stable`: Locking down for consistent behavior
|
||||||
install:
|
install:
|
||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
script:
|
script:
|
||||||
|
|
|
@ -36,7 +36,7 @@ impl CheckSettings {
|
||||||
|
|
||||||
pub fn build<'d, 'p>(
|
pub fn build<'d, 'p>(
|
||||||
&self,
|
&self,
|
||||||
dictionary: &'d Dictionary,
|
dictionary: &'d dyn Dictionary,
|
||||||
parser: &'p tokens::Parser,
|
parser: &'p tokens::Parser,
|
||||||
) -> Checks<'d, 'p> {
|
) -> Checks<'d, 'p> {
|
||||||
Checks {
|
Checks {
|
||||||
|
@ -61,7 +61,7 @@ impl Default for CheckSettings {
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct Checks<'d, 'p> {
|
pub struct Checks<'d, 'p> {
|
||||||
dictionary: &'d Dictionary,
|
dictionary: &'d dyn Dictionary,
|
||||||
parser: &'p tokens::Parser,
|
parser: &'p tokens::Parser,
|
||||||
check_filenames: bool,
|
check_filenames: bool,
|
||||||
check_files: bool,
|
check_files: bool,
|
||||||
|
|
Loading…
Reference in a new issue