init: basic gossip peer with node impl #4
Workflow file for this run
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: Continuous Integration - tests | |
on: | |
push: | |
pull_request: | |
jobs: | |
formatting-and-testing: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Scarb | |
uses: software-mansion/setup-scarb@v1 | |
- name: Setup Rust toolchain | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- name: Setup Starknet Foundry | |
uses: foundry-rs/setup-snfoundry@v3 | |
- name: Format code | |
run: cargo fmt --check | |
- name: Run cargo tests | |
run: cargo test | |
- name: Run snforge tests | |
run: snforge test |