Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run release/docs actions during verify #347

Merged
merged 4 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,11 @@ jobs:
env:
RUSTFLAGS: "--deny warnings"
K8S_OPENAPI_ENABLED_VERSION: "1.31"
- name: Try-run Cargo Version Update
if: steps.commits.outputs.count > 0
run: sed -i -e '0,/edition/s/^version = .*/version = "${{ steps.release.outputs.version }}"/' kube-custom-resources-rs/Cargo.toml
- name: Print modified Cargo.toml
run: cat kube-custom-resources-rs/Cargo.toml
- uses: dtolnay/rust-toolchain@nightly
- uses: dtolnay/install@cargo-docs-rs
- run: cargo +nightly docs-rs --package kube-custom-resources-rs
3 changes: 3 additions & 0 deletions kube-custom-resources-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ version = "~1"
version = "~0"
features = ["v1_31"]

[package.metadata.docs.rs]
features = [ "k8s-openapi/v1_31" ]

[features]
about_k8s_io = []
acid_zalan_do = []
Expand Down