Skip to content

Commit d46293d

Browse files
committed
Fix CI
1 parent 2511c95 commit d46293d

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ check:
2828
echo 'Cargo clippy' && \
2929
cargo +nightly-2024-12-01 clippy --target=nanox && \
3030
cargo +nightly-2024-12-01 clippy --target=stax && \
31-
cargo install cargo-audit && cargo audit && \
31+
cargo install --locked cargo-audit@0.21.0 && cargo audit && \
3232
cargo install --locked [email protected] && cargo +nightly-2024-12-01 deny check \
3333
"
3434

@@ -61,8 +61,6 @@ set-github-action:
6161
cd js/docker && docker compose up -d && cd .. && npm ci && cd ..
6262

6363
run-github-ci:
64-
docker run --rm -v $(shell pwd):/app -v ledger-alephium-cargo:/opt/.cargo $(ledger_app_builder) \
65-
bash -c "cd app && cargo ledger build $(path) -- --no-default-features --features debug"
6664
docker run --name speculos --rm -v $(shell pwd):/app --publish 25000:5000 --publish 9999:9999 \
6765
$(ledger_app_dev_tools) speculos -m $(device) /app/app/target/$(path)/release/alephium --display headless &
6866
cd js && sleep 3 && MODEL=$(device) npm run speculos-test && docker stop speculos && cd ..

app/deny.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
multiple-versions = "allow"
33

44
[licenses]
5-
allow = [ "MIT", "Apache-2.0", "Unicode-DFS-2016", "ISC", "BSD-3-Clause" ]
5+
allow = [ "MIT", "Apache-2.0", "Unicode-3.0", "ISC", "BSD-3-Clause" ]

app/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ extern "C" fn sample_main() {
5656
use ledger_device_sdk::nbgl::{NbglGlyph, NbglHomeAndSettings, PageIndex};
5757

5858
const APP_ICON: NbglGlyph = NbglGlyph::from_include(include_gif!("alph_64x64.gif", NBGL));
59-
let settings_strings = [["Blind signing", "Enable blind signing"]];
59+
let settings_strings = &[["Blind signing", "Enable blind signing"]];
6060
let mut home_and_settings = NbglHomeAndSettings::new()
6161
.glyph(&APP_ICON)
62-
.settings(unsafe { SETTINGS_DATA.get_mut() }, &settings_strings)
62+
.settings(unsafe { SETTINGS_DATA.get_mut() }, settings_strings)
6363
.infos(
6464
"Alephium",
6565
env!("CARGO_PKG_VERSION"),

0 commit comments

Comments
 (0)