Class ActPlugin

java.lang.Object
io.github.pshevche.act.ActPlugin
All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>

public class ActPlugin extends Object implements org.gradle.api.Plugin<org.gradle.api.Project>
Gradle plugin for validating GitHub actions using nektos/act.
  • Constructor Details

    • ActPlugin

      public ActPlugin()
  • Method Details

    • apply

      public void apply(org.gradle.api.Project project)
      Plugin application will register a default task actTest of type ActTest, which will execute all specification files defined in ActExtension.getSpecsRoot().

      The configuration of the default task should be done using the registered project extension of type ActExtension.

      Specified by:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>