Skip to content
Open
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
29 changes: 29 additions & 0 deletions .github/workflows/compile-no-warnings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: No-Warnings Compilation

"on":
push:
branches: [master]
pull_request:
branches: [master]

env:
CARGO_TERM_COLOR: always

jobs:
basic-compilation:
name: Compilation with no warnings
runs-on: ubuntu-latest
container:
# To refresh: skopeo inspect --no-tags docker://quay.io/keylime/keylime-ci:latest | jq -r '.Digest'
image: quay.io/keylime/keylime-ci@sha256:973f36045d0dd0b1a219dd88f06625c65a77f267842ee23d955e0c095ef09ff2
steps:
- uses: actions/checkout@v6
Comment thread
coderabbitai[bot] marked this conversation as resolved.
- name: Set git safe.directory for the working directory
run: git config --system --add safe.directory "$PWD"
- name: Check compilation (no warnings)
run: RUSTFLAGS="-D warnings" cargo build
- name: Check test compilation (no warnings)
run: RUSTFLAGS="-D warnings" cargo test --no-run
- name: Check clippy errors (no warnings included)
run: cargo clippy --all-features --all-targets -- -D clippy::all -D warnings
1 change: 0 additions & 1 deletion keylime/src/context_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,6 @@ impl ContextInfo {
mod uefi_log_tests {
use super::base64_standard;
use super::*;
use base64::Engine as _;

/// Cached bytes are preferred over the on-disk file.
///
Expand Down