File tree Expand file tree Collapse file tree 2 files changed +19
-9
lines changed Expand file tree Collapse file tree 2 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 4
4
5
5
env :
6
6
CARGO_TERM_COLOR : always
7
- LIBCLANG_PATH : /usr/lib/llvm-14/lib/
8
7
9
8
jobs :
10
9
clippy_check :
14
13
version : [community, enterprise]
15
14
steps :
16
15
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
17
- - run : rustup component add clippy
18
- - uses : actions-rs/clippy-check@v1
16
+
17
+ - name : Install deps
18
+ run : |
19
+ sudo apt-get update -y
20
+ sudo apt-get install -y --no-install-recommends libclang-dev
21
+
22
+ - name : Install rust
23
+ uses : dtolnay/rust-toolchain@888c2e1ea69ab0d4330cbf0af1ecc7b68f368cc1 # v1
19
24
with :
20
- token : ${{ secrets.GITHUB_TOKEN }}
21
- name : Clippy
22
- args : --features=${{ matrix.version }}
25
+ toolchain : stable
26
+ components : clippy
27
+
28
+ - name : Clippy check
29
+ shell : bash
30
+ run : |
31
+ # shellcheck disable=SC2046
32
+ cargo clippy --color always --features=${{ matrix.version }}
Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ use crate::{
28
28
/// * The original key will be prefixed with 'encrypted$'.
29
29
///
30
30
/// * The transformed Encryptable dictionary will contain `alg` property indicating
31
- /// the encryption algorithm, `ciphertext` property whose value is a base-64 string of the
32
- /// encrypted value, and optionally `kid` property indicating the encryption key identifier
33
- /// if specified when returning the result of PropertyEncryptor callback call.
31
+ /// the encryption algorithm, `ciphertext` property whose value is a base-64 string of the
32
+ /// encrypted value, and optionally `kid` property indicating the encryption key identifier
33
+ /// if specified when returning the result of PropertyEncryptor callback call.
34
34
///
35
35
/// For security reason, a document that contains Encryptable dictionaries will fail
36
36
/// to push if their value cannot be encrypted including
You can’t perform that action at this time.
0 commit comments