From e7af983c3ad6a9464382732f24fd445137155948 Mon Sep 17 00:00:00 2001 From: Leynos Date: Sun, 3 Aug 2025 15:57:33 +0100 Subject: [PATCH] Restrict release tag pattern --- .github/workflows/release.yml | 2 +- Cargo.lock | 2 ++ Cargo.toml | 1 + crates/comenq/Cargo.toml | 4 ++++ crates/comenqd/Cargo.toml | 4 ++-- 5 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87b2816..9c9850b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ on: push: tags: # Match semantic version tags (e.g. v1.2.3, v10.11.12, v12.3.7-beta7) - - 'v*.*.*' + - 'v[0-9]*.[0-9]*.[0-9]*' jobs: goreleaser: diff --git a/Cargo.lock b/Cargo.lock index b221715..68660db 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -305,8 +305,10 @@ version = "0.1.0" dependencies = [ "clap", "comenq-lib", + "rstest", "serde", "serde_json", + "tempfile", "thiserror 1.0.69", "tokio", "tracing", diff --git a/Cargo.toml b/Cargo.toml index 2609a02..0fdfd2d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -51,6 +51,7 @@ thiserror = "1.0" ortho_config = { git = "https://github.com/leynos/ortho-config.git", tag = "v0.4.0" } serde_yaml = "0.9" tempfile = "3.10" +rstest = "0.18.0" [lints.clippy] pedantic = { level = "warn", priority = -1 } diff --git a/crates/comenq/Cargo.toml b/crates/comenq/Cargo.toml index 1781a6e..4503182 100644 --- a/crates/comenq/Cargo.toml +++ b/crates/comenq/Cargo.toml @@ -14,3 +14,7 @@ serde_json = { workspace = true } comenq-lib = { path = "../.." } thiserror = { workspace = true } tracing = { workspace = true } + +[dev-dependencies] +rstest = { workspace = true } +tempfile = { workspace = true } diff --git a/crates/comenqd/Cargo.toml b/crates/comenqd/Cargo.toml index 116f04d..181c610 100644 --- a/crates/comenqd/Cargo.toml +++ b/crates/comenqd/Cargo.toml @@ -20,8 +20,8 @@ ortho_config = { workspace = true } figment = { version = "0.10", default-features = false, features = ["env", "toml"] } [dev-dependencies] -rstest = "0.18.0" -tempfile = "3.10" # latest 3.x at time of writing; update as new patch versions release +rstest = { workspace = true } +tempfile = { workspace = true } # latest 3.x at time of writing; update as new patch versions release serial_test = "2" test-support = { path = "../../test-support" } test-utils = { path = "../test-utils" }