This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
Add support for P2P protocol v1 (when orig. is v0) #419
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: basics | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
cargo: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
checks: [ | |
fmt --all --check, | |
check --all-targets --all-features, | |
clippy --all-targets --all-features -- -D warnings, | |
test --all-targets --all-features | |
] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: arduino/setup-protoc@v2 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Default on nightly Rust | |
run: rustup default nightly | |
- name: Install additional components | |
run: | | |
rustup component add rustfmt | |
rustup component add clippy | |
- name: ${{ matrix.checks }} | |
run: cargo ${{ matrix.checks }} | |