Package io.github.pshevche.act
Class ActPlugin
java.lang.Object
io.github.pshevche.act.ActPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
Gradle plugin for validating GitHub actions using nektos/act.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(org.gradle.api.Project project) Plugin application will register a default taskactTestof typeActTest, which will execute all specification files defined inActExtension.getSpecsRoot().
-
Constructor Details
-
ActPlugin
public ActPlugin()
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project) Plugin application will register a default taskactTestof typeActTest, which will execute all specification files defined inActExtension.getSpecsRoot().The configuration of the default task should be done using the registered project extension of type
ActExtension.- Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-