Merge pull request 'devel ci go' (#36) from devel into master
Cargo Check, Format, Fix, Test and publish / cargo CI (push) Failing after 2m29s Details

Reviewed-on: #36
This commit is contained in:
Christoph J. Scherr 2024-01-17 01:23:40 +01:00
commit 5488f851f9
9 changed files with 39 additions and 21 deletions

View File

@ -19,4 +19,10 @@ jobs:
- run: cargo fix --all-features --all-targets - run: cargo fix --all-features --all-targets
- run: cargo fmt --all - run: cargo fmt --all
- run: cargo test --all-features --all-targets - run: cargo test --all-features --all-targets
- run: cargo publish --index "https://git.cscherr.de/PlexSheep/_cargo-index.git --dry-run - run: |
for CRATE in {libpt-log,libpt-core,libpt-math,libpt-ccc,libpt-bintols,libpt-hedu,libpt-net,libpt-bin,libpt}; do
cargo publish \
--index "https://git.cscherr.de/PlexSheep/_cargo-index.git" \
-p $CRATE
;
done

View File

@ -1,5 +1,8 @@
name: Cargo Check, Format, Fix and Test name: Cargo Check, Format, Fix and Test
on: [push, pull_request] on:
push:
branches:
- devel
jobs: jobs:
format: format:

View File

@ -31,6 +31,8 @@ categories = [
[workspace.dependencies] [workspace.dependencies]
anyhow = "1.0.79" anyhow = "1.0.79"
thiserror = "1.0.56" thiserror = "1.0.56"
libpt-log = { version = "0.2.3", path = "../libpt-log" }
libpt-bintols = { version = "0.2.3", ath = "../libpt-bintols" }
[package] [package]
name = "libpt" name = "libpt"
@ -69,10 +71,10 @@ crate-type = [
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
libpt-bintols = { path = "members/libpt-bintols" } libpt-bintols = { version = "0.2.3", path = "members/libpt-bintols" }
libpt-core = { path = "members/libpt-core" } libpt-core = { version = "0.2.3", path = "members/libpt-core" }
libpt-hedu = { path = "members/libpt-hedu" } libpt-hedu = { version = "0.2.3", path = "members/libpt-hedu" }
libpt-log = { path = "members/libpt-log" } libpt-log = { version = "0.2.3", path = "members/libpt-log" }
libpt-math = { path = "members/libpt-math" } libpt-math = { version = "0.2.3", path = "members/libpt-math" }
libpt-ccc = { path = "members/libpt-ccc" } libpt-ccc = { version = "0.2.3", path = "members/libpt-ccc" }
libpt-net = { path = "members/libpt-net" } libpt-net = { version = "0.2.3", path = "members/libpt-net" }

View File

@ -31,4 +31,11 @@ path = "src/main/mod.rs"
clap = { version = "4.4.4", features = ["derive"] } clap = { version = "4.4.4", features = ["derive"] }
clap-num = "1.0.2" clap-num = "1.0.2"
clap-verbosity-flag = "2.0.1" clap-verbosity-flag = "2.0.1"
libpt = {path = "../..", features = ["default", "ccc", "math", "hedu", "net", "log"] } libpt = { version = "0.2.3", path = "../..", features = [
"default",
"ccc",
"math",
"hedu",
"net",
"log",
] }

View File

@ -16,5 +16,5 @@ categories.workspace = true
[dependencies] [dependencies]
num-traits = "0.2.16" num-traits = "0.2.16"
libpt-core = { path = "../libpt-core" } libpt-core = { version = "0.2.3", path = "../libpt-core" }
libpt-log = { path = "../libpt-log" } libpt-log = { version = "0.2.3", path = "../libpt-log" }

View File

@ -17,6 +17,6 @@ categories.workspace = true
[dependencies] [dependencies]
num = "0.4.1" num = "0.4.1"
num-traits = "0.2.16" num-traits = "0.2.16"
libpt-core = { path = "../libpt-core" } libpt-core = { version = "0.2.3", path = "../libpt-core" }
libpt-log = { path = "../libpt-log" } libpt-log = { version = "0.2.3", path = "../libpt-log" }
libpt-math = { path = "../libpt-math" } libpt-math = { version = "0.2.3", path = "../libpt-math" }

View File

@ -15,4 +15,4 @@ categories.workspace = true
[dependencies] [dependencies]
anyhow = "1.0.79" anyhow = "1.0.79"
cucumber = "0.20.2" cucumber = "0.20.2"
libpt-log = {path = "../libpt-log" } libpt-log = { version = "0.2.3", path = "../libpt-log" }

View File

@ -17,5 +17,5 @@ categories.workspace = true
[dependencies] [dependencies]
anyhow = { workspace = true } anyhow = { workspace = true }
thiserror = { workspace = true } thiserror = { workspace = true }
libpt-log = {path = "../libpt-log" } libpt-log = { version = "0.2.3", path = "../libpt-log" }
libpt-bintols = {path = "../libpt-bintols" } libpt-bintols = { version = "0.2.3", path = "../libpt-bintols" }

View File

@ -16,9 +16,9 @@ categories.workspace = true
[dependencies] [dependencies]
humantime = "2.1.0" humantime = "2.1.0"
libpt-core = { path = "../libpt-core" } libpt-core = { version = "0.2.3", path = "../libpt-core" }
libpt-log = { path = "../libpt-log" } libpt-log = { version = "0.2.3", path = "../libpt-log" }
libpt-math = { path = "../libpt-math" } libpt-math = { version = "0.2.3", path = "../libpt-math" }
reqwest = { version = "0.11.20", features = ["blocking"] } reqwest = { version = "0.11.20", features = ["blocking"] }
serde = { version = "1.0.188", features = ["serde_derive"] } serde = { version = "1.0.188", features = ["serde_derive"] }
serde_json = "1.0.107" serde_json = "1.0.107"