Skip to content

Commit

Permalink
Add build CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rustaceanrob committed Mar 1, 2024
1 parent 087e5f9 commit 3b7f669
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Cargo Build & Test

on:
push:
pull_request:

jobs:
build:
name: Rust - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose


1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ fn gen_key() -> Result<SecretKey, secp256k1::Error> {
fn new_elligator_swift(sk: SecretKey) -> ElligatorSwift {
let curve = Secp256k1::new();
let pk = PublicKey::from_secret_key(&curve, &sk);

ElligatorSwift::from_pubkey(pk)
}

Expand Down

0 comments on commit 3b7f669

Please sign in to comment.