feat(primitives): add back From<U256> for FlaggedStorage (#68) #222
This file contains hidden or 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: Seismic CI | |
| on: | |
| push: | |
| branches: [seismic] | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| CARGO_NET_GIT_FETCH_WITH_CLI: true | |
| jobs: | |
| rustfmt: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@nightly | |
| with: | |
| components: rustfmt | |
| - run: cargo fmt --all --check | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| shared-key: "build-cache" | |
| - name: cargo build without flags | |
| run: cargo build | |
| - name: cargo build with foundry flags | |
| run: cargo build --features arbitrary,eip712,seismic | |
| warnings: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| shared-key: "warnings-cache" | |
| - name: cargo check warnings without flags | |
| run: RUSTFLAGS="-D warnings" cargo check | |
| - name: cargo check warnings with foundry flags | |
| run: RUSTFLAGS="-D warnings" cargo check --features arbitrary,eip712,seismic | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| shared-key: "test-cache" | |
| - name: cargo test | |
| run: cargo test | |
| # TODO: christian: get this to work | |
| # - name: cargo test with foundry flags | |
| # run: cargo test --features arbitrary --features seismic |