mirror of
https://github.com/vacp2p/zerokit.git
synced 2025-01-10 06:16:15 +00:00
8e065d4a83
chore(rln): clippy and fmt fix(rln): cargo fix ci: update submodules chore(rln): remove unnecessary test, restyle fix(rln): switch to field type, add field arithmetic feat(rln): public input computation from witness fix(rln): fix semaphore crate version
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
name: Tests
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v2
|
|
- name: Install stable toolchain
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
override: true
|
|
- name: Update git submodules
|
|
run: git submodule update --init --recursive
|
|
- name: cargo test
|
|
run: |
|
|
cargo test
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v2
|
|
- name: Install stable toolchain
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
override: true
|
|
components: rustfmt, clippy
|
|
- name: Update git submodules
|
|
run: git submodule update --init --recursive
|
|
- name: cargo fmt
|
|
run: cargo fmt --all -- --check
|
|
- name: cargo clippy
|
|
run: cargo clippy
|
|
# Currently not treating warnings as error, too noisy
|
|
# -- -D warnings
|