Skip to content

Add diary day boundary #20

Add diary day boundary

Add diary day boundary #20

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
rust:
name: Rust checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Cache cargo artifacts
uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt --all -- --check
- name: Check workspace
run: cargo check --workspace
- name: Test workspace
run: cargo test --workspace
- name: Install Python YAML parser
run: python3 -m pip install pyyaml
- name: Validate OpenAPI YAML
run: |
python3 - <<'PY'
import yaml
yaml.safe_load(open('openapi/hub.yaml'))
print('openapi yaml ok')
PY