Skip to content

update workflows

update workflows #25

Workflow file for this run

name: tests
on:
push:
branches:
- master
paths:
# Source files in each member
- "compute/src/**"
- "p2p/src/**"
- "workflows/src/**"
# Cargo in each member
- "compute/Cargo.toml"
- "p2p/Cargo.toml"
- "workflows/Cargo.toml"
# root-level Cargo
- "Cargo.lock"
# workflow itself
- ".github/workflows/tests.yml"
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Run tests
run: cargo test --workspace
- name: Run linter
run: cargo clippy --workspace