Poseidon2 with STATE_SIZE 12 #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
merge_group: {} | |
push: | |
branches: [ "main" ] | |
pull_request: {} | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: poseidon2-starky | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose | |
lint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: poseidon2-starky | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install clippy and rustfmt | |
run: rustup component add clippy rustfmt | |
- name: Run clippy linter | |
run: cargo clippy --all-features --all-targets -- -D warnings | |
- name: Check cargo fmt | |
run: cargo fmt --check |