fix: fix empty voting period being overriden #3896
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: [push] | |
env: | |
STARKNET_DEVNET_VERSION: 0.2.3 | |
jobs: | |
lint-build-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Node.js 22 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 22 | |
cache: "yarn" | |
- name: Setup Rust Toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: Restore Cargo | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cargo | |
key: ${{ runner.os }}-cargo-${{ env.STARKNET_DEVNET_VERSION }} | |
- name: Install Starknet Devnet | |
run: cargo install starknet-devnet@${{ env.STARKNET_DEVNET_VERSION }} | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
- run: yarn --frozen-lockfile | |
- run: yarn build | |
- run: yarn typecheck | |
- run: yarn lint | |
- run: yarn test | |
- run: yarn test:integration |