Skip to content

Commit

Permalink
Merge remote-tracking branch 'jo/master' into feat/type-byte-array
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Dec 2, 2024
2 parents afbafe7 + 093d5ec commit 6c78ab6
Show file tree
Hide file tree
Showing 116 changed files with 5,905 additions and 2,377 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
matrix:
package:
- "starknet-curve"
- "starknet-crypto-codegen"
- "starknet-crypto"
- "starknet-core"
- "starknet-providers"
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
push:
branches:
- "master"
pull_request:

name: "Build documentation"

jobs:
build-doc:
name: "Build documentation"
runs-on: "ubuntu-latest"

steps:
- name: "Checkout source code"
uses: "actions/checkout@v3"

- name: "Setup stable toolchain"
uses: "actions-rs/toolchain@v1"
with:
toolchain: "stable"
profile: "minimal"
override: true

- name: "Build docs"
run: |
RUSTDOCFLAGS="-D warnings -A rustdoc::missing-crate-level-docs" cargo doc --all
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: "Set allowed lints"
run: |
if [ "${{ matrix.toolchain }}" == "nightly" ]; then
echo "ALLOWED=-A non_local_definitions" >> $GITHUB_ENV
echo "ALLOWED=-A non_local_definitions -A clippy::too_long_first_doc_paragraph -A clippy::needless_return" >> $GITHUB_ENV
else
echo "ALLOWED=" >> $GITHUB_ENV
fi
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-11]
os: [ubuntu-latest, macos-13, macos-14]
toolchain: [stable, nightly]

steps:
Expand All @@ -25,6 +25,10 @@ jobs:
profile: minimal
override: true

- name: Test starknet-crypto with pedersen_no_lookup
run: |
cargo test -p starknet-crypto --features pedersen_no_lookup
- name: Run cargo tests
uses: nick-fields/retry@v2
with:
Expand Down Expand Up @@ -53,6 +57,10 @@ jobs:
profile: minimal
override: true

- name: Test starknet-crypto with pedersen_no_lookup
run: |
cargo test -p starknet-crypto --features pedersen_no_lookup
- name: Run cargo tests
uses: nick-fields/retry@v2
with:
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/udeps.yml

This file was deleted.

Loading

0 comments on commit 6c78ab6

Please sign in to comment.