-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inner objects not initialized fix (#19)
* Add constructor to generated inner object * Increase minor version * Tweak Github Actions --------- Co-authored-by: Jose Enrique García Maciñeiras <[email protected]>
- Loading branch information
1 parent
52e1e54
commit a48a930
Showing
6 changed files
with
23 additions
and
11 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
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 |
---|---|---|
|
@@ -15,23 +15,23 @@ jobs: | |
continue-on-error: true | ||
- name: Check if version is updated | ||
uses: avides/[email protected] | ||
id: maven_plugin_version_check | ||
id: maven_processor_version_check | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
file-to-check: pom.xml | ||
continue-on-error: true | ||
- name: Warn about version specification | ||
if: ${{ steps.engine_version_check.outcome != 'success' || steps.maven_plugin_version_check.outcome != 'success' }} | ||
if: ${{steps.maven_processor_version_check.outcome != 'success' }} | ||
uses: thollander/actions-comment-pull-request@v1 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
message: Project version has not been updated in pom.xml. Please, update your version using https://semver.org specifications | ||
- name: Fail | ||
if: ${{ steps.engine_version_check.outcome != 'success' || steps.maven_plugin_version_check.outcome != 'success' }} | ||
if: ${{steps.maven_processor_version_check.outcome != 'success' }} | ||
uses: cutenode/action-always-fail@v1 | ||
- name: New software version | ||
if: ${{ steps.engine_version_check.outcome == 'success' && steps.maven_plugin_version_check.outcome == 'success' }} | ||
run: echo "New Pact Annotation Builder engine version is " ${{ steps.engine_version_check.outputs.version }} | ||
if: ${{ steps.maven_processor_version_check.outcome == 'success' }} | ||
run: echo "New Pact Annotation Builder engine version is " ${{ steps.maven_processor_version_check.version }} | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,5 @@ pom.xml.bak | |
.vscode/ | ||
**/.java-version | ||
|
||
*.bak | ||
*.bak | ||
dependency-reduced-pom* |
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
<groupId>com.sngular</groupId> | ||
<artifactId>pact-annotation-processor</artifactId> | ||
<version>1.0.0</version> | ||
<version>1.0.1</version> | ||
|
||
<name>PactDslBuilder - Annotation Processor</name> | ||
<description>Pact DSL Builder annotation processor.</description> | ||
|
@@ -39,6 +39,17 @@ | |
</roles> | ||
<timezone>Europe/Madrid</timezone> | ||
</developer> | ||
<developer> | ||
<id>apenlor</id> | ||
<name>Alejandro Pena Lorenzo</name> | ||
<email>[email protected]</email> | ||
<organizationUrl>https://sngular.github.io/</organizationUrl> | ||
<roles> | ||
<role>Principal Engineer</role> | ||
<role>Team Leader</role> | ||
</roles> | ||
<timezone>America/New_York</timezone> | ||
</developer> | ||
</developers> | ||
|
||
<scm> | ||
|
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