-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade snafu and rust-toolchain to meet signatrust CVE fix (#4)
* update version * ignored upstream test
- Loading branch information
Showing
9 changed files
with
27 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,39 +10,13 @@ env: | |
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
combo: | ||
test: | ||
name: cargo test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: nightly | ||
override: true | ||
- name: Pre-installing grcov | ||
uses: actions-rs/[email protected] | ||
with: | ||
crate: grcov | ||
use-tool-cache: true | ||
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: clean | ||
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --all-features --no-fail-fast # Customize args for your own needs | ||
env: | ||
CARGO_INCREMENTAL: '0' | ||
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' | ||
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' | ||
- name: Gather coverage data | ||
id: coverage | ||
uses: actions-rs/[email protected] | ||
|
||
- name: Coveralls upload | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
path-to-lcov: ${{ steps.coverage.outputs.report }} | ||
- uses: actions/checkout@v4 | ||
- uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
- run: cargo test --all-features | ||
|
||
lints: | ||
name: Clippy + rustfmt | ||
|
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,6 +1,6 @@ | ||
[package] | ||
name = "efi_signer" | ||
version = "0.2.7" | ||
version = "0.2.8" | ||
edition = "2021" | ||
authors = ["Li Chaoran <[email protected]>"] | ||
description = "A crates for signing and parsing EFI image" | ||
|
@@ -18,16 +18,16 @@ goblin = "0.6.1" | |
log = "0.4.17" | ||
md-5 = "0.10.6" | ||
openssl = "0.10.52" | ||
openssl-sys = "0.9.87" | ||
openssl-sys = { version = "0.9.87", features = ["vendored"] } | ||
picky = { version = "7.0.0-rc.8", features = ["pkcs7", "wincert", "time_conversion", "ctl", "ctl_http_fetch"] } | ||
picky-asn1-x509 = "0.12.0" | ||
picky-asn1-x509 = "0.14.1" | ||
serde = "1.0.159" | ||
sha1 = "0.10.6" | ||
sha2 = "0.10.8" | ||
snafu = { version = "0.7.4", features = ["backtraces", "backtraces-impl-std", "unstable-provider-api"] } | ||
snafu = "0.8.5" | ||
x509-cert = "0.2.4" | ||
|
||
|
||
[dev-dependencies] | ||
clap = { version = "4.2.4", features = ["derive"] } | ||
env_logger = "0.10.0" | ||
env_logger = "0.11.5" |
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,2 +1,2 @@ | ||
[toolchain] | ||
channel = "nightly-2023-08-08" | ||
channel = "nightly-2024-12-14" |
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