Skip to content

Fix bksystem calc reputation getter, Add tvm err to get_account #11

Fix bksystem calc reputation getter, Add tvm err to get_account

Fix bksystem calc reputation getter, Add tvm err to get_account #11

Workflow file for this run

name: CI
on:
pull_request:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy
- name: Remove private dev-dependencies
run: sed -i '/halo2-proover/d' contracts/Cargo.toml && cargo generate-lockfile
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: cargo-lint-${{ hashFiles('**/Cargo.lock') }}
restore-keys: cargo-lint-
- name: Check formatting
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --lib -- -D warnings -A clippy::result_large_err
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- name: Remove private dev-dependencies
run: sed -i '/halo2-proover/d' contracts/Cargo.toml && cargo generate-lockfile
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: cargo-test-${{ hashFiles('**/Cargo.lock') }}
restore-keys: cargo-test-
- name: Run tests
run: cargo test --lib