Indexer: check prev_block_hash and last block height #167
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
--- | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
name: Lints | |
jobs: | |
fmt: | |
name: Format | |
runs-on: [self-hosted, light] | |
steps: | |
- name: Clone the repository | |
uses: actions/checkout@v2 | |
- name: Run cargo fmt | |
run: cargo fmt -- --check | |
clippy: | |
name: Clippy | |
runs-on: [self-hosted, heavy] | |
steps: | |
- name: Clone the repository | |
uses: actions/checkout@v3 | |
- name: Run cargo clippy - mainnet | |
run: cargo clippy --features mainnet -- -D warnings | |
- name: Run cargo clippy - mainnet archival | |
run: cargo clippy --features mainnet-archival -- -D warnings | |
- name: Run cargo clippy - testnet | |
run: cargo clippy --features testnet -- -D warnings |