Skip to content

chore: fmt

chore: fmt #43

Workflow file for this run

name: Rust
on:
push:
pull_request:
branches:
- master
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Check formatting
run: cargo fmt --all -- --check
- name: Check clippy
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
- name: Start Ceramic
run: docker compose -f it/docker-compose.yml up -d
- name: Wait for Ceramic
run: ./it/wait_for_ceramic.sh
- name: Run tests
run: cargo test --verbose
env:
DID_PRIVATE_KEY: ${{ secrets.DID_PRIVATE_KEY }}