forked from parallaxsecond/rust-tss-esapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moves Clippy lints checking to a separate job.
This fixes parallaxsecond#468. Signed-off-by: Jesper Brynolf <[email protected]>
- Loading branch information
1 parent
2dfc315
commit 8f162b7
Showing
7 changed files
with
58 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM fedora:35 | ||
FROM fedora:36 | ||
|
||
RUN dnf install -y \ | ||
tpm2-tss-devel tpm2-abrmd tpm2-tools \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Copyright 2023 Contributors to the Parsec project. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# This script executes static checks for the tss-esapi crate. | ||
|
||
set -euf -o pipefail | ||
|
||
################################################# | ||
# Change rust toolchain version | ||
################################################# | ||
if [[ ! -z ${RUST_TOOLCHAIN_VERSION:+x} ]]; then | ||
rustup override set ${RUST_TOOLCHAIN_VERSION} | ||
# Use the frozen Cargo lock to prevent any drift from MSRV being upgraded | ||
# underneath our feet. | ||
cp tests/Cargo.lock.frozen ../Cargo.lock | ||
fi | ||
|
||
################## | ||
# Execute clippy # | ||
################## | ||
cargo clippy --all-targets --all-features -- -D clippy::all -D clippy::cargo |