Skip to content

Commit f70d3ae

Browse files
committed
Apply review suggestions
1 parent a99a78d commit f70d3ae

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/test-suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ jobs:
329329
run: make cargo-fmt
330330
- name: Lint code for quality and style with Clippy
331331
run: make lint-full
332-
- name: Check dependencies for usage of an unencrypted HTTP
332+
- name: Check dependencies for unencrypted HTTP links
333333
run: make insecure-deps
334334
- name: Certify Cargo.lock freshness
335335
run: git diff --exit-code Cargo.lock

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ validator_test_rig = { path = "testing/validator_test_rig" }
274274
warp = { version = "0.3.7", default-features = false, features = ["tls"] }
275275
warp_utils = { path = "common/warp_utils" }
276276
workspace_members = { path = "common/workspace_members" }
277-
xdelta3 = { git = "http://github.com/sigp/xdelta3-rs", rev = "4db64086bb02e9febb584ba93b9d16bb2ae3825a" }
277+
xdelta3 = { git = "https://github.com/sigp/xdelta3-rs", rev = "4db64086bb02e9febb584ba93b9d16bb2ae3825a" }
278278
zeroize = { version = "1", features = ["zeroize_derive", "serde"] }
279279
zip = "0.6"
280280
zstd = "0.13"

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,14 +343,15 @@ vendor:
343343
udeps:
344344
cargo +$(PINNED_NIGHTLY) udeps --tests --all-targets --release --features "$(TEST_FEATURES)"
345345

346-
# Checks dependencies for usage of an unencrypted HTTP
346+
# Checks dependencies for unencrypted HTTP links
347347
# Tee preserves output. If there are matches, print a message and return 1
348348
insecure-deps:
349349
bash -c \
350350
"find -name Cargo.toml \
351351
| xargs grep -P \"git\s?=\s?[\\\"']http:\" \
352352
| tee /dev/tty \
353-
| [ \`wc -l\` == 0 ] || (echo \"Using plain HTTP in dependencies is forbidden\" && false)"
353+
| [ \`wc -l\` == 0 ] && echo \"All Git dependencies use secure HTTPS\" \
354+
|| (echo \"Using plain HTTP in dependencies is forbidden\" && false)"
354355

355356
# Performs a `cargo` clean and cleans the `ef_tests` directory.
356357
clean:

0 commit comments

Comments
 (0)