Skip to content

Merge pull request #3 from Groestlcoin/merge-master #114

Merge pull request #3 from Groestlcoin/merge-master

Merge pull request #3 from Groestlcoin/merge-master #114

Workflow file for this run

name: electrs
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
build-args:
[
--locked --no-default-features,
--locked,
--locked --features metrics_process,
]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Install Rust
run: rustup component add rustfmt clippy
- name: Format
run: cargo fmt --all -- --check
- name: Build
run: cargo build ${{ matrix.build-args }} --all
- name: Test
run: cargo test ${{ matrix.build-args }} --all
- name: Clippy
run: cargo clippy -- -D warnings