| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9c40632 commit 6e1d1ea
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -31,7 +31,7 @@ github: | |||
| 31 | 31 | projects: true | |
| 32 | 32 | discussions: true | |
| 33 | 33 | dependabot_alerts: false | |
| 34 | - dependabot_updates: false | ||
| 34 | + dependabot_updates: true | ||
| 35 | 35 | enabled_merge_buttons: | |
| 36 | 36 | squash: false | |
| 37 | 37 | merge: true | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,29 @@ | |||
| 1 | + # Licensed to the Apache Software Foundation (ASF) under one | ||
| 2 | + # or more contributor license agreements. See the NOTICE file | ||
| 3 | + # distributed with this work for additional information | ||
| 4 | + # regarding copyright ownership. The ASF licenses this file | ||
| 5 | + # to you under the Apache License, Version 2.0 (the | ||
| 6 | + # "License"); you may not use this file except in compliance | ||
| 7 | + # with the License. You may obtain a copy of the License at | ||
| 8 | + # | ||
| 9 | + # http://www.apache.org/licenses/LICENSE-2.0 | ||
| 10 | + # | ||
| 11 | + # Unless required by applicable law or agreed to in writing, | ||
| 12 | + # software distributed under the License is distributed on an | ||
| 13 | + # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| 14 | + # KIND, either express or implied. See the License for the | ||
| 15 | + # specific language governing permissions and limitations | ||
| 16 | + # under the License. | ||
| 17 | + | ||
| 18 | + version: 2 | ||
| 19 | + updates: | ||
| 20 | + | ||
| 21 | + - package-ecosystem: "github-actions" | ||
| 22 | + directory: "/" | ||
| 23 | + schedule: | ||
| 24 | + interval: "weekly" | ||
| 25 | + labels: | ||
| 26 | + - "Upgrade Library" | ||
| 27 | + - "CI" | ||
| 28 | + | ||
| 29 | + # for project dependencies see .github/workflows/dependency-checks.yml | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,9 +20,11 @@ | |||
| 20 | 20 | import java.io.IOException; | |
| 21 | 21 | import java.nio.file.Files; | |
| 22 | 22 | import java.nio.file.Path; | |
| 23 | + import java.util.List; | ||
| 23 | 24 | import java.util.concurrent.Semaphore; | |
| 24 | 25 | import java.util.concurrent.atomic.LongAdder; | |
| 25 | 26 | import java.util.stream.Stream; | |
| 27 | + import org.apache.maven.search.api.Record; | ||
| 26 | 28 | import org.apache.maven.search.api.SearchRequest; | |
| 27 | 29 | import org.apache.maven.search.backend.smo.SmoSearchBackend; | |
| 28 | 30 | import org.apache.maven.search.backend.smo.SmoSearchBackendFactory; | |
@@ -129,7 +131,19 @@ private static String queryLatestVersion(SmoSearchBackend backend, String gid, S | |||
| 129 | 131 | private static String queryLatestVersion(SmoSearchBackend backend, SearchRequest request) throws IOException, InterruptedException { | |
| 130 | 132 | requests.acquire(); | |
| 131 | 133 | try { | |
| 132 | - return backend.search(request).getPage().stream() | ||
| 134 | + List<Record> results; | ||
| 135 | + try { | ||
| 136 | + results = backend.search(request).getPage(); | ||
| 137 | + } catch (IOException ex) { | ||
| 138 | + System.out.println("received exception: '" + ex.getMessage() + "', retry in 10s"); | ||
| 139 | + Thread.sleep(10_000); | ||
| 140 | + try { | ||
| 141 | + results = backend.search(request).getPage(); | ||
| 142 | + } catch(IOException ignore) { | ||
| 143 | + throw ex; | ||
| 144 | + } | ||
| 145 | + } | ||
| 146 | + return results.stream() | ||
| 133 | 147 | .map(r -> r.getValue(VERSION)) | |
| 134 | 148 | .filter(v -> !v.contains("alpha") && !v.contains("beta")) | |
| 135 | 149 | .filter(v -> !v.contains("M") && !v.contains("m") && !v.contains("B") && !v.contains("b") && !v.contains("ea") && !v.contains("RC")) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,6 +15,15 @@ | |||
| 15 | 15 | # specific language governing permissions and limitations | |
| 16 | 16 | # under the License. | |
| 17 | 17 | ||
| 18 | + # https://infra.apache.org/github-actions-policy.html | ||
| 19 | + # actions: | ||
| 20 | + # - github actions use the latest release within the locked major version | ||
| 21 | + # - third party actions (geekyeggo/delete-artifact, test-summary/action and shivammathur/setup-ph) shall be locked to a hash | ||
| 22 | + # - see https://github.com/apache/infrastructure-gha-allowlist-manager/blob/main/approved_patterns.yml | ||
| 23 | + # - dependabot is active to keep them up to date | ||
| 24 | + # | ||
| 25 | + # this workflow can push the limit of the apache action runner policy, please use CI responsibly | ||
| 26 | + | ||
| 18 | 27 | name: NetBeans | |
| 19 | 28 | ||
| 20 | 29 | on: | |
@@ -124,7 +133,7 @@ jobs: | |||
| 124 | 133 | timeout-minutes: 40 | |
| 125 | 134 | strategy: | |
| 126 | 135 | matrix: | |
| 127 | - java: [ '17', '21', '24-ea' ] | ||
| 136 | + java: [ '17', '21', '24' ] | ||
| 128 | 137 | exclude: | |
| 129 | 138 | - java: ${{ github.event_name == 'pull_request' && 'nothing' || '21' }} | |
| 130 | 139 | fail-fast: false | |
@@ -229,7 +238,7 @@ jobs: | |||
| 229 | 238 | java: [ 17 ] | |
| 230 | 239 | include: | |
| 231 | 240 | - os: ubuntu-latest | |
| 232 | - java: 24-ea | ||
| 241 | + java: 24 | ||
| 233 | 242 | fail-fast: false | |
| 234 | 243 | steps: | |
| 235 | 244 | ||
@@ -270,7 +279,7 @@ jobs: | |||
| 270 | 279 | run: ant $OPTS -f platform/core.network test | |
| 271 | 280 | ||
| 272 | 281 | - name: Create Test Summary | |
| 273 | - uses: test-summary/action@v2 | ||
| 282 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 274 | 283 | if: failure() | |
| 275 | 284 | with: | |
| 276 | 285 | paths: | | |
@@ -305,11 +314,11 @@ jobs: | |||
| 305 | 314 | submodules: false | |
| 306 | 315 | show-progress: false | |
| 307 | 316 | ||
| 308 | - - name: Set up JDK 23 for scripts | ||
| 317 | + - name: Set up JDK 24 for scripts | ||
| 309 | 318 | if: ${{ github.event_name == 'pull_request' && !cancelled() }} | |
| 310 | 319 | uses: actions/setup-java@v4 | |
| 311 | 320 | with: | |
| 312 | - java-version: 23 | ||
| 321 | + java-version: 24 | ||
| 313 | 322 | distribution: ${{ env.DEFAULT_JAVA_DISTRIBUTION }} | |
| 314 | 323 | ||
| 315 | 324 | - name: Check Commit Headers | |
@@ -441,7 +450,7 @@ jobs: | |||
| 441 | 450 | run: ant $OPTS build-javadoc | |
| 442 | 451 | ||
| 443 | 452 | - name: Create Test Summary | |
| 444 | - uses: test-summary/action@v2 | ||
| 453 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 445 | 454 | if: failure() | |
| 446 | 455 | with: | |
| 447 | 456 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -822,7 +831,7 @@ jobs: | |||
| 822 | 831 | run: ant $OPTS -f ide/xsl test | |
| 823 | 832 | ||
| 824 | 833 | - name: Create Test Summary | |
| 825 | - uses: test-summary/action@v2 | ||
| 834 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 826 | 835 | if: failure() | |
| 827 | 836 | with: | |
| 828 | 837 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -837,7 +846,7 @@ jobs: | |||
| 837 | 846 | timeout-minutes: 50 | |
| 838 | 847 | strategy: | |
| 839 | 848 | matrix: | |
| 840 | - java: [ '17', '21', '24-ea' ] | ||
| 849 | + java: [ '17', '21', '24' ] | ||
| 841 | 850 | exclude: | |
| 842 | 851 | - java: ${{ github.event_name == 'pull_request' && 'nothing' || '21' }} | |
| 843 | 852 | fail-fast: false | |
@@ -945,7 +954,7 @@ jobs: | |||
| 945 | 954 | run: ant $OPTS -f apisupport/apisupport.ant test | |
| 946 | 955 | ||
| 947 | 956 | - name: Create Test Summary | |
| 948 | - uses: test-summary/action@v2 | ||
| 957 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 949 | 958 | if: failure() | |
| 950 | 959 | with: | |
| 951 | 960 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -1108,7 +1117,7 @@ jobs: | |||
| 1108 | 1117 | run: ant $OPTS -f platform/netbinox test -Dtest.config=stableBTD | |
| 1109 | 1118 | ||
| 1110 | 1119 | - name: Create Test Summary | |
| 1111 | - uses: test-summary/action@v2 | ||
| 1120 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 1112 | 1121 | if: failure() | |
| 1113 | 1122 | with: | |
| 1114 | 1123 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -1246,7 +1255,7 @@ jobs: | |||
| 1246 | 1255 | run: ant $OPTS -f platform/api.templates test | |
| 1247 | 1256 | ||
| 1248 | 1257 | - name: Create Test Summary | |
| 1249 | - uses: test-summary/action@v2 | ||
| 1258 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 1250 | 1259 | if: failure() | |
| 1251 | 1260 | with: | |
| 1252 | 1261 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -1429,7 +1438,7 @@ jobs: | |||
| 1429 | 1438 | run: ant $OPTS -f java/javadoc test | |
| 1430 | 1439 | ||
| 1431 | 1440 | - name: Create Test Summary | |
| 1432 | - uses: test-summary/action@v2 | ||
| 1441 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 1433 | 1442 | if: failure() | |
| 1434 | 1443 | with: | |
| 1435 | 1444 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -1444,10 +1453,10 @@ jobs: | |||
| 1444 | 1453 | timeout-minutes: 60 | |
| 1445 | 1454 | strategy: | |
| 1446 | 1455 | matrix: | |
| 1447 | - java: [ '17', '24-ea' ] | ||
| 1456 | + java: [ '17', '24' ] | ||
| 1448 | 1457 | config: [ 'batch1', 'batch2' ] | |
| 1449 | 1458 | exclude: | |
| 1450 | - - java: ${{ github.event_name == 'pull_request' && 'nothing' || '24-ea' }} | ||
| 1459 | + - java: ${{ github.event_name == 'pull_request' && 'nothing' || '24' }} | ||
| 1451 | 1460 | fail-fast: false | |
| 1452 | 1461 | steps: | |
| 1453 | 1462 | ||
@@ -1482,7 +1491,7 @@ jobs: | |||
| 1482 | 1491 | run: ant $OPTS -f java/spi.java.hints test | |
| 1483 | 1492 | ||
| 1484 | 1493 | - name: Create Test Summary | |
| 1485 | - uses: test-summary/action@v2 | ||
| 1494 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 1486 | 1495 | if: failure() | |
| 1487 | 1496 | with: | |
| 1488 | 1497 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -1497,7 +1506,7 @@ jobs: | |||
| 1497 | 1506 | timeout-minutes: 60 | |
| 1498 | 1507 | strategy: | |
| 1499 | 1508 | matrix: | |
| 1500 | - java: [ '17', '21', '24-ea' ] | ||
| 1509 | + java: [ '17', '21', '24' ] | ||
| 1501 | 1510 | exclude: | |
| 1502 | 1511 | - java: ${{ github.event_name == 'pull_request' && 'nothing' || '21' }} | |
| 1503 | 1512 | fail-fast: false | |
@@ -1544,7 +1553,7 @@ jobs: | |||
| 1544 | 1553 | # run: ant $OPTS -f java/debugger.jpda.ui test | |
| 1545 | 1554 | ||
| 1546 | 1555 | - name: Create Test Summary | |
| 1547 | - uses: test-summary/action@v2 | ||
| 1556 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 1548 | 1557 | if: failure() | |
| 1549 | 1558 | with: | |
| 1550 | 1559 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -1589,7 +1598,7 @@ jobs: | |||
| 1589 | 1598 | run: ant $OPTS -f profiler/profiler.oql test | |
| 1590 | 1599 | ||
| 1591 | 1600 | - name: Create Test Summary | |
| 1592 | - uses: test-summary/action@v2 | ||
| 1601 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 1593 | 1602 | if: failure() | |
| 1594 | 1603 | with: | |
| 1595 | 1604 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -1764,7 +1773,7 @@ jobs: | |||
| 1764 | 1773 | run: ant $OPTS -f webcommon/api.knockout test | |
| 1765 | 1774 | ||
| 1766 | 1775 | - name: Create Test Summary | |
| 1767 | - uses: test-summary/action@v2 | ||
| 1776 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 1768 | 1777 | if: failure() | |
| 1769 | 1778 | with: | |
| 1770 | 1779 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -1812,7 +1821,7 @@ jobs: | |||
| 1812 | 1821 | # run: ant $OPTS -f javafx/javafx2.project test | |
| 1813 | 1822 | ||
| 1814 | 1823 | - name: Create Test Summary | |
| 1815 | - uses: test-summary/action@v2 | ||
| 1824 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 1816 | 1825 | if: failure() | |
| 1817 | 1826 | with: | |
| 1818 | 1827 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -1865,7 +1874,7 @@ jobs: | |||
| 1865 | 1874 | # run: ant $OPTS -f groovy/groovy.kit test | |
| 1866 | 1875 | ||
| 1867 | 1876 | - name: Create Test Summary | |
| 1868 | - uses: test-summary/action@v2 | ||
| 1877 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 1869 | 1878 | if: failure() | |
| 1870 | 1879 | with: | |
| 1871 | 1880 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -1913,7 +1922,7 @@ jobs: | |||
| 1913 | 1922 | run: ant $OPTS -f rust/rust.options test | |
| 1914 | 1923 | ||
| 1915 | 1924 | - name: Create Test Summary | |
| 1916 | - uses: test-summary/action@v2 | ||
| 1925 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 1917 | 1926 | if: failure() | |
| 1918 | 1927 | with: | |
| 1919 | 1928 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -2157,7 +2166,7 @@ jobs: | |||
| 2157 | 2166 | run: ant $OPTS -f enterprise/j2ee.dd.webservice test | |
| 2158 | 2167 | ||
| 2159 | 2168 | - name: Create Test Summary | |
| 2160 | - uses: test-summary/action@v2 | ||
| 2169 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 2161 | 2170 | if: failure() | |
| 2162 | 2171 | with: | |
| 2163 | 2172 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -2240,7 +2249,7 @@ jobs: | |||
| 2240 | 2249 | ant $OPTS -f ide/versioning test-qa-functional | |
| 2241 | 2250 | ||
| 2242 | 2251 | - name: Create Test Summary | |
| 2243 | - uses: test-summary/action@v2 | ||
| 2252 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 2244 | 2253 | if: failure() | |
| 2245 | 2254 | with: | |
| 2246 | 2255 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -2300,7 +2309,7 @@ jobs: | |||
| 2300 | 2309 | run: .github/retry.sh ant $OPTS $OPTS_TEST -f ide/db.mysql test | |
| 2301 | 2310 | ||
| 2302 | 2311 | - name: Create Test Summary | |
| 2303 | - uses: test-summary/action@v2 | ||
| 2312 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 2304 | 2313 | if: failure() | |
| 2305 | 2314 | with: | |
| 2306 | 2315 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -2347,7 +2356,7 @@ jobs: | |||
| 2347 | 2356 | # linux specific setup | |
| 2348 | 2357 | - name: Setup PHP | |
| 2349 | 2358 | if: contains(matrix.os, 'ubuntu') | |
| 2350 | - uses: shivammathur/setup-php@v2 | ||
| 2359 | + uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0 | ||
| 2351 | 2360 | with: | |
| 2352 | 2361 | php-version: '8.3' | |
| 2353 | 2362 | tools: pecl | |
@@ -2458,7 +2467,7 @@ jobs: | |||
| 2458 | 2467 | run: ant $OPTS -f php/spellchecker.bindings.php test | |
| 2459 | 2468 | ||
| 2460 | 2469 | - name: Create Test Summary | |
| 2461 | - uses: test-summary/action@v2 | ||
| 2470 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 2462 | 2471 | if: failure() | |
| 2463 | 2472 | with: | |
| 2464 | 2473 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -2503,7 +2512,7 @@ jobs: | |||
| 2503 | 2512 | run: .github/retry.sh ant $OPTS -f java/java.lsp.server test | |
| 2504 | 2513 | ||
| 2505 | 2514 | - name: Create Test Summary | |
| 2506 | - uses: test-summary/action@v2 | ||
| 2515 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 2507 | 2516 | if: failure() | |
| 2508 | 2517 | with: | |
| 2509 | 2518 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -2569,7 +2578,7 @@ jobs: | |||
| 2569 | 2578 | run: .github/retry.sh ant $OPTS -f java/debugger.jpda.truffle test | |
| 2570 | 2579 | ||
| 2571 | 2580 | - name: Create Test Summary | |
| 2572 | - uses: test-summary/action@v2 | ||
| 2581 | + uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
| 2573 | 2582 | if: failure() | |
| 2574 | 2583 | with: | |
| 2575 | 2584 | paths: "./*/*/build/test/*/results/TEST-*.xml" | |
@@ -2662,13 +2671,13 @@ jobs: | |||
| 2662 | 2671 | steps: | |
| 2663 | 2672 | ||
| 2664 | 2673 | - name: Delete Workspace Artifact | |
| 2665 | - uses: geekyeggo/delete-artifact@v5 | ||
| 2674 | + uses: geekyeggo/delete-artifact@f275313e70c08f6120db482d7a6b98377786765b # v5.1.0 | ||
| 2666 | 2675 | with: | |
| 2667 | 2676 | name: build | |
| 2668 | 2677 | useGlob: false | |
| 2669 | 2678 | ||
| 2670 | 2679 | - name: Delete Dev Build Artifact | |
| 2671 | - uses: geekyeggo/delete-artifact@v5 | ||
| 2680 | + uses: geekyeggo/delete-artifact@f275313e70c08f6120db482d7a6b98377786765b # v5.1.0 | ||
| 2672 | 2681 | if: ${{ contains(github.event.pull_request.labels.*.name, 'ci:dev-build') && cancelled() }} | |
| 2673 | 2682 | with: | |
| 2674 | 2683 | name: dev-build_${{github.event.pull_request.number || github.run_id}} | |
| Back | FazBrowse Home | New Git URL |
0 commit comments