Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/library_rust_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Setup Rust Toolchain for GitHub CI
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
components: rustfmt, clippy

- name: Setup Dafny
uses: ./mpl/.github/actions/setup_dafny
Expand Down Expand Up @@ -94,6 +94,13 @@ jobs:
CORES=$(node -e 'console.log(os.cpus().length)')
make transpile_rust CORES=$CORES

- name: Run clippy
working-directory: ${{ matrix.library }}/runtimes/rust
shell: bash
run: |
cargo clippy
cargo clippy --example main

- name: Test Rust
working-directory: ${{ matrix.library }}
shell: bash
Expand Down
1 change: 1 addition & 0 deletions AwsEncryptionSDK/runtimes/rust/examples/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#![deny(warnings, unconditional_panic)]
#![deny(nonstandard_style)]
#![deny(clippy::all)]
#![allow(clippy::result_large_err)]

pub mod client_supplier;
pub mod cryptographic_materials_manager;
Expand Down
Loading