From 3c17595f174cce3db26f5ee92eab20c3755a31f4 Mon Sep 17 00:00:00 2001 From: tiagofneto Date: Fri, 15 Dec 2023 13:53:50 -0300 Subject: [PATCH] ci --- .github/ci.yml | 13 +++++++++++++ src/channel/channel.cairo | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .github/ci.yml diff --git a/.github/ci.yml b/.github/ci.yml new file mode 100644 index 000000000..b4df574e7 --- /dev/null +++ b/.github/ci.yml @@ -0,0 +1,13 @@ +name: CI +on: + push: + merge_group: + pull_request: +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: software-mansion/setup-scarb@v1 + - run: scarb fmt --check + - run: scarb test diff --git a/src/channel/channel.cairo b/src/channel/channel.cairo index 19eab3bb6..1a4997130 100644 --- a/src/channel/channel.cairo +++ b/src/channel/channel.cairo @@ -1,4 +1,6 @@ -use cairo_verifier::common::{flip_endiannes::FlipEndiannessTrait, to_array::ToArrayTrait, blake2s::blake2s}; +use cairo_verifier::common::{ + flip_endiannes::FlipEndiannessTrait, to_array::ToArrayTrait, blake2s::blake2s +}; const C_PRIME_AS_UINT256_LOW: u128 = 31; const C_PRIME_AS_UINT256_HIGH: u128 =