-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Define automatic pom.xml name for the copy-rename-maven-plugin, using the project artifactId and version tags. Signed-off-by: Manoel Campos <manoelcampos@gmail.com> * Upgrade to JDK 11 - Using Java 11 everywhere (instead of 1.8 for sources and 11 for tests) - Update dependency versions Signed-off-by: Manoel Campos <manoelcampos@gmail.com> * Remove maven.coveralls.plugin Since the project is already using https://codacy.com, they already provide coverage service which doesn't require a maven plugin. Uploading coverage reports can be done inside a GitHub Action workflow. This way, a single service can be used for code quality and coverage. The coveralls plugin is abandoned, has old dependencies and doesn't support new JDK versions. Signed-off-by: Manoel Campos <manoelcampos@gmail.com> * Update pom to use JUnit 5 Signed-off-by: Manoel Campos <manoelcampos@gmail.com> * Migrate tests from JUnit 4 to JUnit 5 - Refactor tests - Organize test code Signed-off-by: Manoel Campos <manoelcampos@gmail.com> * Refactoring to use java var keyword where it makes code cleaner. - Define final variable and parameters. - Code organization. Signed-off-by: Manoel Campos <manoelcampos@gmail.com> * Use afirmative conditions for clarity (without changing behaviour) Signed-off-by: Manoel Campos <manoelcampos@gmail.com> * Refactors DotenvParser.parse() extracting a new method to improve clarity. Signed-off-by: Manoel Campos <manoelcampos@gmail.com> * Gets the number of lines from the env file inside the DotenvParser.parse() and creates an ArrayList with that exact size for memory improvement. Signed-off-by: Manoel Campos <manoelcampos@gmail.com> * Version bump to 2.4.0 Signed-off-by: Manoel Campos <manoelcampos@gmail.com> * Removes .travis.yml file and adds GitHub Action workflow build.yml - Update build badge - Remove coveralls badge since the plugin was removed (since it's abandoned) and codacy can be configured to show code coverage. Signed-off-by: Manoel Campos <manoelcampos@gmail.com> --------- Signed-off-by: Manoel Campos <manoelcampos@gmail.com>
- Loading branch information
1 parent
10d4f06
commit d586bd3
Showing
9 changed files
with
206 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: [ "master", "main" ] | ||
pull_request: | ||
branches: [ "master", "main" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
cache: maven | ||
- name: Build with Maven | ||
run: mvn clean package jacoco:report |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.