Skip to content

Commit

Permalink
ci: Fix CI failures
Browse files Browse the repository at this point in the history
Signed-off-by: Erdem Meydanli <[email protected]>
  • Loading branch information
meerd committed Mar 21, 2024
1 parent c592f73 commit 5aebff0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo install --locked --version "~0.17" cargo-audit
- run: cargo install --locked --version "0.17.6" cargo-audit
- run: cargo audit --ignore RUSTSEC-2020-0159 --ignore RUSTSEC-2020-0071

license:
Expand All @@ -59,7 +59,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo install --locked --version "~0.5" cargo-about
- run: cargo install --locked --version "0.5.6" cargo-about
- run: cargo about generate --workspace --output-file "${{ runner.temp }}/licenses.html" about.hbs
- id: license_diff
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
- run: cargo install --locked --version "~0.5" cargo-about
- run: cargo install --locked --version "0.5.16" cargo-about
- run: cargo about generate --workspace --output-file THIRD_PARTY_LICENSES_RUST_CRATES.html about.hbs
- id: checkgitdiff # Early exit if there is no diff.
run: |
Expand Down
3 changes: 2 additions & 1 deletion enclave_build/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

use clap::{App, AppSettings, Arg};
Expand All @@ -7,6 +7,7 @@ use std::fs::OpenOptions;
use aws_nitro_enclaves_image_format::generate_build_info;
use enclave_build::Docker2Eif;

#[allow(clippy::suspicious_open_options)]
fn main() {
let matches = App::new("Docker2Eif builder")
.about("Generate consistent EIF image from a Docker image")
Expand Down

0 comments on commit 5aebff0

Please sign in to comment.