Skip to content

Commit 475b45f

Browse files
authored
fix(release): exclude examples from versioning (#3)
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
1 parent a60aeed commit 475b45f

4 files changed

Lines changed: 6 additions & 12 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
rustup default stable
3838
- name: Check workspace
3939
run: cargo check --workspace --all-targets
40+
- name: Check examples
41+
run: cargo check --manifest-path examples/Cargo.toml --all-targets
4042
- name: Run library tests
4143
run: cargo test --workspace --lib
4244

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Generated by Cargo
22
# will have compiled files and executables
33
target/
4+
examples/Cargo.lock
45

56
# Certs for testing purposes.
67
certs/

‎Cargo.lock‎

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ members = [
55
"trogon-eventstore-extras",
66

77
# internals
8-
"trogon-eventstore-macros",
9-
"examples"
8+
"trogon-eventstore-macros"
109
]
10+
# Keep examples outside the release graph until https://github.com/googleapis/release-please/pull/2856 lands.
11+
exclude = ["examples"]

0 commit comments

Comments
 (0)