erigon-pulse/interfaces/.github/workflows/rust.yml
Andrew Ashikhmin eac8c1fa59
Switch from eth/66 to eth/67 (#503)
* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit a25a685

git-subtree-dir: interfaces
git-subtree-split: a25a68528428cc6d792b5033dd97d094c14e1dd9

* Regenerate proto

* eth/66 -> eth/67

* Auto-generated leftovers

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit 674172f

git-subtree-dir: interfaces
git-subtree-split: 674172f20ef9a77bcff1c97213f5f3865115f213

* Refresh generated proto

* Remove version suffix from MessageId
2022-06-28 09:58:12 +02:00

55 lines
1.1 KiB
YAML

on:
pull_request:
push:
branches:
- master
name: Rust
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/install@v0.1
with:
crate: cargo-hack
version: latest
use-tool-cache: true
- uses: actions-rs/cargo@v1
with:
command: hack
args: check --workspace --ignore-private --each-feature --no-dev-deps
- uses: actions-rs/cargo@v1
with:
command: check
args: --workspace --all-targets --all-features
- uses: actions-rs/cargo@v1
with:
command: test
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}