Skip to content

Commit

Permalink
feat: adds combine tool to prepare final YAML specification
Browse files Browse the repository at this point in the history
  • Loading branch information
claymcleod committed Oct 12, 2023
1 parent f058c8e commit 44c9766
Show file tree
Hide file tree
Showing 8 changed files with 757 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/CI-Rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI-Rust

on: [push, pull_request]

jobs:
format:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Update Rust
run: rustup update stable && rustup default stable
- name: Install rustfmt
run: rustup component add rustfmt
- run: cargo fmt -- --check

lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Update Rust
run: rustup update stable && rustup default stable
- name: Install clippy
run: rustup component add clippy
- run: cargo clippy --all-features -- --deny warnings

test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Update Rust
run: rustup update stable && rustup default stable
- run: cargo test --all-features

docs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Update Rust
run: rustup update stable && rustup default stable
- run: cargo doc
297 changes: 297 additions & 0 deletions bin/combine/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions bin/combine/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[package]
name = "combine"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
clap = { version = "4.4.6", features = ["derive"] }
serde_yaml = "0.9.25"
7 changes: 7 additions & 0 deletions bin/combine/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#![warn(missing_docs)]
#![warn(rust_2018_idioms)]
#![warn(rust_2021_compatibility)]
#![warn(missing_debug_implementations)]
#![deny(rustdoc::broken_intra_doc_links)]

pub mod yaml;
Loading

0 comments on commit 44c9766

Please sign in to comment.