diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index dcff6afb..5ca623e7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -44,7 +44,7 @@ jobs: - uses: actions/checkout@v3 - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: jars diff --git a/.github/workflows/manual-deploy.yml b/.github/workflows/manual-deploy.yml index 1e07508a..29613905 100644 --- a/.github/workflows/manual-deploy.yml +++ b/.github/workflows/manual-deploy.yml @@ -53,7 +53,7 @@ jobs: ref: ${{ github.event.inputs.tag }} - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: jars diff --git a/metarParser-parsers/src/main/java/io/github/mivek/command/common/WindCommand.java b/metarParser-parsers/src/main/java/io/github/mivek/command/common/WindCommand.java index ec4895c5..f11a14de 100644 --- a/metarParser-parsers/src/main/java/io/github/mivek/command/common/WindCommand.java +++ b/metarParser-parsers/src/main/java/io/github/mivek/command/common/WindCommand.java @@ -11,7 +11,7 @@ */ public final class WindCommand implements BaseWindCommand { /** Pattern regex for wind. */ - private static final Pattern WIND_REGEX = Pattern.compile("^(VRB|00|[0-3]\\d{2})(\\d{2})G?(\\d{2,3})?(KT|MPS|KM/H)?"); + private static final Pattern WIND_REGEX = Pattern.compile("^(VRB|000|[0-3]\\d{2})(\\d{2})G?(\\d{2,3})?(KT|MPS|KM/H)?"); /** * Package private constructor. diff --git a/metarParser-parsers/src/test/java/io/github/mivek/parser/MetarParserTest.java b/metarParser-parsers/src/test/java/io/github/mivek/parser/MetarParserTest.java index 4837f1fa..a2369ae4 100644 --- a/metarParser-parsers/src/test/java/io/github/mivek/parser/MetarParserTest.java +++ b/metarParser-parsers/src/test/java/io/github/mivek/parser/MetarParserTest.java @@ -454,7 +454,7 @@ void testParseRunwayDeposit() { @Test void testParsWithLowWind() { - String code = "KATW 022045Z 0000KT 10SM SCT120 00/M08 A2996"; + String code = "KATW 022045Z 00000KT 10SM SCT120 00/M08 A2996"; Metar m = parser.parse(code); assertEquals("KATW", m.getStation()); diff --git a/pom.xml b/pom.xml index a08c2995..f38f8cd3 100644 --- a/pom.xml +++ b/pom.xml @@ -51,24 +51,24 @@ 0.96 0.97 1.2.1 - 10.12.6 + 10.12.7 3.14.0 2.2 0.8.11 5.10.1 3.3.1 - 3.12.0 + 3.12.1 3.1.0 3.6.3 3.5.0 3.12.1 3.3.0 - 3.2.3 + 3.2.5 1.6.13 1.10.0 1.2.1 1.15.3 - 2.0.9 + 2.0.11 4.8.2.0 mivek-github https://sonarcloud.io