mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-06 02:52:19 +00:00
fbbcc5f48a
* Remove interfaces for replacement * Squashed 'interfaces/' content from commit 8d42c07 git-subtree-dir: interfaces git-subtree-split: 8d42c078a1d5196a02b26b1397716f44974d1bf7 * Regenerate peerId to be 512 bits * Fixup Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
on: [push, pull_request]
|
|
|
|
name: Rust
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
override: true
|
|
components: rustfmt, clippy
|
|
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: fmt
|
|
args: --all -- --check --config merge_imports=true
|
|
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: install
|
|
args: cargo-hack
|
|
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: hack
|
|
args: check --all --ignore-private --each-feature --no-dev-deps
|
|
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: check
|
|
args: --all --all-targets --all-features
|
|
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: test
|
|
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: clippy
|
|
args: -- -D warnings
|