Skip to content

Commit ae568d4

Browse files
authored
ci: add typos job (#644)
1 parent 1146b9a commit ae568d4

File tree

4 files changed

+25
-6
lines changed

4 files changed

+25
-6
lines changed

.github/workflows/workspace.yml

+6
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,9 @@ jobs:
3535

3636
- name: Run cargo fmt
3737
run: cargo fmt --all -- --check
38+
39+
typos:
40+
runs-on: ubuntu-latest
41+
steps:
42+
- uses: actions/checkout@v4
43+
- uses: crate-ci/[email protected]

.typos.toml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[files]
2+
extend-exclude = [
3+
".git/"
4+
]
5+
6+
[default.extend-words]
7+
"GOST" = "GOST"
8+

blake2/tests/mod.rs

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
#[cfg(feature = "reset")]
2-
use digest::dev::{fixed_reset_test as fixed_fn, variable_reset_test as varaible_fn};
2+
use digest::dev::{fixed_reset_test as fixed_test, variable_reset_test as variable_test};
33
#[cfg(not(feature = "reset"))]
4-
use digest::dev::{fixed_test as fixed_fn, variable_test as varaible_fn};
4+
use digest::dev::{fixed_test, variable_test};
55
use digest::new_test;
66

7-
new_test!(blake2b_fixed, "blake2b/fixed", blake2::Blake2b512, fixed_fn,);
7+
new_test!(
8+
blake2b_fixed,
9+
"blake2b/fixed",
10+
blake2::Blake2b512,
11+
fixed_test,
12+
);
813
new_test!(
914
blake2b_variable,
1015
"blake2b/variable",
1116
blake2::Blake2bVar,
12-
varaible_fn,
17+
variable_test,
1318
);
1419
new_test!(
1520
blake2s_variable,
1621
"blake2s/variable",
1722
blake2::Blake2sVar,
18-
varaible_fn,
23+
variable_test,
1924
);

sha2/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
131131

132132
## 0.9.1 (2020-06-24)
133133
### Added
134-
- x86 hardware acceleration of SHA-256 via SHA extension instrinsics. ([#167])
134+
- x86 hardware acceleration of SHA-256 via SHA extension intrinsics. ([#167])
135135

136136
[#167]: https://github.com/RustCrypto/hashes/pull/167
137137

0 commit comments

Comments
 (0)