Skip to content

Commit df8b850

Browse files
authored
Merge pull request #83 from finos/main
sync renovate/maven-surefire-plugin.version with main
2 parents 9d45690 + ef1be35 commit df8b850

File tree

18 files changed

+123
-30
lines changed

18 files changed

+123
-30
lines changed

.github/renovate.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@
5151
"!com.regnosys.rosetta:com.regnosys.rosetta",
5252
"!rosetta.dsl.version"
5353
]
54-
}
54+
},
55+
{
56+
"description": "Always open PRs immediately for Renovate GitHub Action updates",
57+
"matchManagers": ["github-actions"],
58+
"matchPackageNames": ["renovatebot/github-action"],
59+
"prCreation": "immediate",
60+
"stabilityDays": 0,
61+
"minimumReleaseAge": "0 days",
62+
"schedule": ["at any time"]
63+
}
5564
]
5665
}

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
# Java
3232
- name: Set up Java
33-
uses: actions/setup-java@v4
33+
uses: actions/setup-java@v5
3434
with:
3535
distribution: temurin
3636
java-version: ${{ inputs.java-version }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fetch-depth: 0
2222

2323
- name: Set up Java
24-
uses: actions/setup-java@v4
24+
uses: actions/setup-java@v5
2525
with:
2626
distribution: temurin
2727
java-version: 21
@@ -80,7 +80,7 @@ jobs:
8080
fetch-depth: 0
8181

8282
- name: Set up Java
83-
uses: actions/setup-java@v4
83+
uses: actions/setup-java@v5
8484
with:
8585
distribution: temurin
8686
java-version: 21

.github/workflows/renovate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
# Runs the Renovate GitHub Action
2828
- name: Renovate
29-
uses: renovatebot/[email protected].10
29+
uses: renovatebot/[email protected].12
3030
with:
3131
token: ${{ secrets.GITHUB_TOKEN }} # required to create PRs/issues
3232
configurationFile: .github/renovate.json
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# .github/workflows/run-build-and-test.yml
2+
3+
name: Run Build and Test (manual)
4+
5+
on:
6+
workflow_dispatch:
7+
inputs:
8+
java-version:
9+
description: Java version (Temurin)
10+
required: false
11+
default: '21'
12+
python-version:
13+
description: Python version
14+
required: false
15+
default: '3.11'
16+
17+
jobs:
18+
run-core-build-and-test:
19+
uses: ./.github/workflows/build-and-test.yml
20+
with:
21+
java-version: ${{ inputs.java-version }}
22+
python-version: ${{ inputs.python-version }}
23+
secrets: inherit

.github/workflows/scan-cve.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Checkout
2121
uses: actions/checkout@v5
2222
- name: Setup JDK 21
23-
uses: actions/setup-java@v4
23+
uses: actions/setup-java@v5
2424
with:
2525
java-version: '21'
2626
distribution: 'temurin'

.github/workflows/scan-license.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
steps:
5656
- uses: actions/checkout@v5
5757
- name: Set up JDK 21
58-
uses: actions/setup-java@v4
58+
uses: actions/setup-java@v5
5959
with:
6060
java-version: 21
6161
cache: maven

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
<repoServerHost>s01.oss.sonatype.org</repoServerHost>
8282
<stagingTimeoutInMinutes>20</stagingTimeoutInMinutes>
8383

84-
<rosetta.dsl.version>9.65.1</rosetta.dsl.version>
84+
<rosetta.dsl.version>9.66.0</rosetta.dsl.version>
8585

8686
<xtext.version>2.38.0</xtext.version>
8787
<guice.version>6.0.0</guice.version>
@@ -307,7 +307,7 @@
307307
<dependency>
308308
<groupId>org.apache.maven</groupId>
309309
<artifactId>maven-model</artifactId>
310-
<version>3.9.10</version>
310+
<version>3.9.11</version>
311311
</dependency>
312312
<dependency>
313313
<groupId>org.apache.commons</groupId>
@@ -454,7 +454,7 @@
454454
<plugin>
455455
<groupId>org.apache.maven.plugins</groupId>
456456
<artifactId>maven-shade-plugin</artifactId>
457-
<version>3.6.0</version>
457+
<version>3.6.1</version>
458458
<configuration>
459459
<createDependencyReducedPom>true</createDependencyReducedPom>
460460
</configuration>

src/main/java/com/regnosys/rosetta/generator/python/PythonCodeGeneratorCLI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private static void processRosettaFiles(List<Path> rosettaFiles, String tgtDir)
174174
Map<String, CharSequence> generatedPython = new HashMap<>();
175175
pythonCodeGenerator.beforeAllGenerate(resourceSet, models, version);
176176
for (RosettaModel model : models) {
177-
System.out.println("Processing: " + model.getName());
177+
LOGGER.info("Processing: " + model.getName());
178178
generatedPython.putAll(pythonCodeGenerator.beforeGenerate(model.eResource(), model, version));
179179
generatedPython.putAll(pythonCodeGenerator.generate(model.eResource(), model, version));
180180
generatedPython.putAll(pythonCodeGenerator.afterGenerate(model.eResource(), model, version));

src/main/java/com/regnosys/rosetta/generator/python/expressions/PythonExpressionGenerator.xtend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class PythonExpressionGenerator {
9696
ToDateTimeOperation: '''datetime.datetime.strptime(«generateExpression(expr.argument, ifLevel, isLambda)», "%Y-%m-%d %H:%M:%S")'''
9797
ToIntOperation: '''int(«generateExpression(expr.argument, ifLevel, isLambda)»)'''
9898
ToTimeOperation: '''datetime.datetime.strptime(«generateExpression(expr.argument, ifLevel, isLambda)», "%H:%M:%S").time()'''
99-
ToZonedDateTimeOperation:'''datetime.datetime.strptime(«generateExpression(expr.argument, ifLevel, isLambda)», "%Y-%m-%d %H:%M:%S %z %Z")'''
99+
ToZonedDateTimeOperation:'''rune_zoned_date_time(«generateExpression(expr.argument, ifLevel, isLambda)»)'''
100100
// Rune Operations
101101
RosettaAbsentExpression: '''(not rune_attr_exists(«generateExpression(expr.argument, ifLevel, isLambda)»))'''
102102
RosettaBinaryOperation: generateBinaryExpression(expr, ifLevel, isLambda)

0 commit comments

Comments
 (0)