Skip to content

feat: federated learning with Candle #1

feat: federated learning with Candle

feat: federated learning with Candle #1

Workflow file for this run

name: Check
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: cargo fmt
run: cargo fmt --check
- name: cargo clippy
run: cargo clippy -- -D warnings
- name: cargo check
run: cargo check
- name: cargo test
run: cargo test