upgrade secp256kfun (#1466)

* ci: add cargo check on rust stable

* refactor: upgrade secp256kfun and fix resulting issues

* build(deps): update sigma_fun and ecdsa_fun to a52142cf7f

 #1520
 #1521

* chore: fix clippy issue

* update to 91112f80b24

* bump to 294de1721add

* chore(deps): remove spectral

spectral fails to compile on rust stable 1.76 due to dep on deprecated
rustc-serialize

* secp256kfun: update to 7da9d277 and set rev in manifest

* update to 6fdc5d8

* switch to crates.io versions of ecdsa_fun and sigma_fun

* ci: update toolchain to 1.74 and fix draft action

* clippy fixes

---------

Co-authored-by: binarybaron <86064887+binarybaron@users.noreply.github.com>
This commit is contained in:
Byron Hambly 2024-05-27 11:03:20 +02:00 committed by GitHub
parent 1e2dddb61b
commit 796863359f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 229 additions and 220 deletions

View file

@ -61,7 +61,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.70"
toolchain: "1.74"
targets: armv7-unknown-linux-gnueabihf
- name: Build ${{ matrix.target }} ${{ matrix.bin }} release binary

View file

@ -15,7 +15,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.70"
toolchain: "1.74"
components: clippy,rustfmt
- uses: Swatinem/rust-cache@v2.7.3
@ -31,6 +31,22 @@ jobs:
- name: Run clippy with all features enabled
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
check_stable:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4.1.1
- uses: dtolnay/rust-toolchain@stable
- name: Override rust stable
run: |
rustup override set stable
- name: Run cargo check on rust stable
run: cargo check --all-targets
bdk_test:
runs-on: ubuntu-latest
steps:
@ -84,7 +100,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.70"
toolchain: "1.74"
targets: armv7-unknown-linux-gnueabihf
- name: Build binary

View file

@ -42,8 +42,8 @@ jobs:
- name: Commit changelog and manifest files
id: make-commit
env:
DPRINT_VERSION: 0.39.1
RUST_TOOLCHAIN: 1.70
DPRINT_VERSION: "0.39.1"
RUST_TOOLCHAIN: "1.74"
run: |
rustup component add rustfmt --toolchain "$RUST_TOOLCHAIN-x86_64-unknown-linux-gnu"
curl -fsSL https://dprint.dev/install.sh | sh -s $DPRINT_VERSION