-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adds
combine
tool to prepare final YAML specification
- Loading branch information
1 parent
f058c8e
commit f00f55b
Showing
8 changed files
with
757 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Oops, something went wrong.