pub struct LocalAction {
pub line: usize,
pub spec: String,
pub relative: String,
}Expand description
A step calling uses: ./path in this repository.
The path is relative to the repository root. ./, ./action.yml, and
./pad/action.yaml all name the directory that holds the action file.
Fields§
§line: usizeLine of the uses: key.
spec: StringTrimmed scalar, for example ./.github/actions/lint.
relative: StringDirectory relative to the repository root, /-separated.
Empty means the repository root (uses: ./).
Trait Implementations§
Source§impl Clone for LocalAction
impl Clone for LocalAction
Source§impl Debug for LocalAction
impl Debug for LocalAction
impl Eq for LocalAction
Source§impl PartialEq for LocalAction
impl PartialEq for LocalAction
impl StructuralPartialEq for LocalAction
Auto Trait Implementations§
impl Freeze for LocalAction
impl RefUnwindSafe for LocalAction
impl Send for LocalAction
impl Sync for LocalAction
impl Unpin for LocalAction
impl UnsafeUnpin for LocalAction
impl UnwindSafe for LocalAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more