mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-23 15:50:40 +00:00
13 lines
335 B
Rust
13 lines
335 B
Rust
// SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
|
|
#![allow(clippy::missing_panics_doc, clippy::too_long_first_doc_paragraph)]
|
|
|
|
use std::{env, path::Path};
|
|
|
|
pub use install_action_manifest_schema::*;
|
|
|
|
#[must_use]
|
|
pub fn workspace_root() -> &'static Path {
|
|
Path::new(env!("CARGO_MANIFEST_DIR").strip_suffix("tools/codegen").unwrap())
|
|
}
|