Skip to content

Commit ebdb424

Browse files
authored
Merge branch 'xJonathanLEI:master' into fork
2 parents 70e1ee4 + a3a1919 commit ebdb424

File tree

136 files changed

+15491
-5891
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+15491
-5891
lines changed

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- name: "Set allowed lints"
8282
run: |
8383
if [ "${{ matrix.toolchain }}" == "nightly" ]; then
84-
echo "ALLOWED=-A non_local_definitions -A clippy::too_long_first_doc_paragraph" >> $GITHUB_ENV
84+
echo "ALLOWED=-A non_local_definitions -A clippy::too_long_first_doc_paragraph -A clippy::needless_return -A clippy::missing_const_for_fn -A clippy::uninlined_format_args -A clippy::doc_markdown" >> $GITHUB_ENV
8585
else
8686
echo "ALLOWED=" >> $GITHUB_ENV
8787
fi

.github/workflows/test.yaml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
os: [ubuntu-latest, macos-12]
14+
os: [ubuntu-latest, macos-13, macos-14]
1515
toolchain: [stable, nightly]
1616

1717
steps:
@@ -25,6 +25,10 @@ jobs:
2525
profile: minimal
2626
override: true
2727

28+
- name: Test starknet-crypto with pedersen_no_lookup
29+
run: |
30+
cargo test -p starknet-crypto --features pedersen_no_lookup
31+
2832
- name: Run cargo tests
2933
uses: nick-fields/retry@v2
3034
with:
@@ -53,6 +57,10 @@ jobs:
5357
profile: minimal
5458
override: true
5559

60+
- name: Test starknet-crypto with pedersen_no_lookup
61+
run: |
62+
cargo test -p starknet-crypto --features pedersen_no_lookup
63+
5664
- name: Run cargo tests
5765
uses: nick-fields/retry@v2
5866
with:
@@ -82,7 +90,9 @@ jobs:
8290
8391
- name: Build project
8492
run: |
85-
cargo build --all --target wasm32-unknown-unknown --exclude starknet-cxx
93+
cargo build --all --target wasm32-unknown-unknown \
94+
--exclude starknet-cxx \
95+
--exclude starknet-tokio-tungstenite
8696
8797
- name: Install wasm-pack
8898
uses: actions-rs/cargo@v1
@@ -141,3 +151,21 @@ jobs:
141151
cargo build --package starknet-core \
142152
--target thumbv6m-none-eabi \
143153
--no-default-features
154+
155+
ledger:
156+
name: Ledger tests
157+
runs-on: ubuntu-latest
158+
container: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-dev-tools
159+
160+
steps:
161+
- name: Checkout source code
162+
uses: actions/checkout@v4
163+
164+
- name: Install stable Rust toolchain
165+
run: |
166+
rustup toolchain install stable
167+
168+
- name: Run tests
169+
run: |
170+
cargo test --package starknet-signers \
171+
-- --ignored

.github/workflows/udeps.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
/examples/starknet-cxx/build/
22
/target/
33
/.idea
4+
5+
.DS_Store

0 commit comments

Comments
 (0)