This repository has been archived by the owner on Jun 4, 2022. It is now read-only.
dev.katsute.jcore 2.0.1 Latest version
Install 1/2: Add this to pom.xml:
Learn more about Maven or Gradle
<dependency>
<groupId>dev.katsute</groupId>
<artifactId>jcore</artifactId>
<version>2.0.1</version>
</dependency>
Install 2/2: Run via command line
$ mvn install
About this package
You do not have to authenticate with GitHub to use this package, binaries are available on Maven Central https://mvnrepository.com/artifact/dev.katsute/jcore |
---|
JCore supports most GitHub workflow commands.
- Inputs
Workflow.getInput("input")
- Logging
Workflow.info("info"); Workflow.debug("debug"); Workflow.notice("notice"); Workflow.warning("warning"); Workflow.error("error");
- AnnotationProperties
new AnnotationProperties.Builder() .title("A title") .startColumn(1) .endColumn(2) .startLine(3) .endLine(4) .build()
- Groups
Workflow.startGroup("my-group");
- Secret masking
Workflow.addMask("secret value");
View all features in the documentation
Add jCore to your JUnit test cases in order to see failures as annotations.
Assertions.assertTrue(false);
Assumptions.assumeTrue(false);
- No warning messages.
- Requires reading Maven log to find warnings and errors.
Workflows.annotateTest(() -> Assertions.assertTrue(false));
Workflows.annotateTest(() -> Assumptions.assumeTrue(false));
- Annotations show warnings and errors.
- Full stack traces in annotations.
- Direct links to line error.
GitHub Copilot is strictly prohibited on this repository.
Pulls using this will be rejected.
- Found a bug? Post it in issues.
- Want to further expand our project? Fork this repository and submit a pull request.
This library is released under the GNU General Public License (GPL) v2.0.
Details
- KatsuteDev
- April 22, 2022
- 4e35eae
- 2.0.1
- 1 dependencies
- GNU GPLv2
Assets
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0