Ayaz Salikhov
ca2a3ccee9
ci: Use XRPLF/clio-dev-team as team-reviewers, update assignees ( #2113 )
2025-05-14 13:06:01 +01:00
Alex Kremer
2d52966806
ci: Attempt to remove whitespace to fix sanitizer build ( #2105 )
...
Let's see if this does the trick.
Alternatives are
- more complicated cleanup using sed or similar
- don't multiline the expression (e.g. "${{ multiline expression becomes
single line }}")
- don't wrap `SANITIZER_OPTION` in double quotes (like it was before)
- something else that i did not find - let me know if you know
2025-05-13 15:50:22 +01:00
Alex Kremer
a60d01d272
chore: Fix double quotes for all workflows and actions ( #2090 )
...
Workaround potential vulnerabilities in workflows.
2025-05-07 15:26:51 +01:00
Ayaz Salikhov
f2384a47f1
feat: Implement clang build analyzer ( #2072 )
...
Fix: https://github.com/XRPLF/clio/issues/936
2025-05-02 12:49:51 +01:00
Ayaz Salikhov
7fd51d8a60
ci: Refactor how we run code coverage ( #2065 )
...
Fix: https://github.com/XRPLF/clio/issues/2061
2025-05-01 16:44:37 +01:00
Ayaz Salikhov
b2a1b34ae6
style: Improve actions and workflows style ( #2060 )
2025-04-30 11:55:27 +01:00
Ayaz Salikhov
cc1da5afa9
test: Add build_and_test reusable workflow ( #2048 )
2025-04-29 20:28:51 +01:00
Ayaz Salikhov
af0a8af287
style: Add typos pre-commit hook ( #2041 )
2025-04-29 09:59:11 +01:00
Ayaz Salikhov
de43be887e
ci: Try to push to ghcr.io ( #2051 )
...
I don't think I can change where it's pushed and start using it in the
same PR, so will try to first update the push part, and then change
where the image is used. Only doing it for CI image to not break
anything.
2025-04-28 19:04:22 +01:00
Ayaz Salikhov
b03cd63efd
fix: Remove Mac CMake installation error ( #2040 )
...
Even on a successful build I see an error from `brew install`
https://github.com/XRPLF/clio/actions/runs/14668965915?pr=2039
2025-04-28 19:00:15 +01:00
Ayaz Salikhov
bebc683ba2
chore: Specify conan profile explicitly and don't override it ( #2042 )
2025-04-28 15:00:44 +01:00
Ayaz Salikhov
1e0a2f5162
style: Add prettier pre-commit hook ( #2031 )
...
There are 2 things to know about prettier:
- it's quite pretty most of the time
- it's not configurable
2025-04-25 16:24:45 +01:00
Ayaz Salikhov
9c92a2b51b
style: Use pre-commit tool and add simple config ( #2029 )
...
I started with really simple pre-commit hooks and will add more on top.
Important files:
- `.pre-commit-config.yaml` - the config for pre-commit
- `.github/workflows/pre-commit.yml` - runs pre-commit hooks in branches
and `develop`
- `.github/workflows/pre-commit-autoupdate.yml` - autoupdates pre-commit
hooks once in a month
2025-04-24 17:59:43 +01:00
dependabot[bot]
99580a2602
ci: [DEPENDABOT] bump docker/build-push-action from 6.15.0 to 6.16.0 in /.github/actions/build_docker_image ( #2030 )
...
Bumps
[docker/build-push-action](https://github.com/docker/build-push-action )
from 6.15.0 to 6.16.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/docker/build-push-action/releases ">docker/build-push-action's
releases</a>.</em></p>
<blockquote>
<h2>v6.16.0</h2>
<ul>
<li>Handle no default attestations env var by <a
href="https://github.com/crazy-max "><code>@crazy-max</code></a> in <a
href="https://redirect.github.com/docker/build-push-action/pull/1343 ">docker/build-push-action#1343</a></li>
<li>Only print secret keys in build summary output by <a
href="https://github.com/crazy-max "><code>@crazy-max</code></a> in <a
href="https://redirect.github.com/docker/build-push-action/pull/1353 ">docker/build-push-action#1353</a></li>
<li>Bump <code>@docker/actions-toolkit</code> from 0.56.0 to 0.59.0 in
<a
href="https://redirect.github.com/docker/build-push-action/pull/1352 ">docker/build-push-action#1352</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v6.15.0...v6.16.0 ">https://github.com/docker/build-push-action/compare/v6.15.0...v6.16.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="14487ce63c "><code>14487ce</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/build-push-action/issues/1343 ">#1343</a>
from crazy-max/fix-no-default-attest</li>
<li><a
href="0ec91264d8 "><code>0ec9126</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/build-push-action/issues/1366 ">#1366</a>
from crazy-max/pr-assign-author</li>
<li><a
href="b749522b90 "><code>b749522</code></a>
pr-assign-author workflow</li>
<li><a
href="c566248492 "><code>c566248</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/build-push-action/issues/1363 ">#1363</a>
from crazy-max/fix-codecov</li>
<li><a
href="13275dd76e "><code>13275dd</code></a>
ci: fix missing source for codecov</li>
<li><a
href="67dc78bbaf "><code>67dc78b</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/build-push-action/issues/1361 ">#1361</a>
from mschoettle/patch-1</li>
<li><a
href="0760504437 "><code>0760504</code></a>
docs: add validating build configuration example</li>
<li><a
href="1c198f4467 "><code>1c198f4</code></a>
chore: update generated content</li>
<li><a
href="288d9e2e4a "><code>288d9e2</code></a>
handle no default attestations env var</li>
<li><a
href="88844b95d8 "><code>88844b9</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/build-push-action/issues/1353 ">#1353</a>
from crazy-max/summary-secret-keys</li>
<li>Additional commits viewable in <a
href="471d1dc4e0...14487ce63c ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-24 17:21:43 +01:00
Ayaz Salikhov
3916635037
chore: Remove dead code related to centos ( #2028 )
2025-04-24 15:26:41 +01:00
dependabot[bot]
f195a30a76
ci: [DEPENDABOT] bump docker/build-push-action from 5.4.0 to 6.15.0 in /.github/actions/build_docker_image ( #2027 )
...
Bumps
[docker/build-push-action](https://github.com/docker/build-push-action )
from 5.4.0 to 6.15.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/docker/build-push-action/releases ">docker/build-push-action's
releases</a>.</em></p>
<blockquote>
<h2>v6.15.0</h2>
<ul>
<li>Bump <code>@docker/actions-toolkit</code> from 0.55.0 to 0.56.0 in
<a
href="https://redirect.github.com/docker/build-push-action/pull/1330 ">docker/build-push-action#1330</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v6.14.0...v6.15.0 ">https://github.com/docker/build-push-action/compare/v6.14.0...v6.15.0 </a></p>
<h2>v6.14.0</h2>
<ul>
<li>Bump <code>@docker/actions-toolkit</code> from 0.53.0 to 0.55.0 in
<a
href="https://redirect.github.com/docker/build-push-action/pull/1324 ">docker/build-push-action#1324</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v6.13.0...v6.14.0 ">https://github.com/docker/build-push-action/compare/v6.13.0...v6.14.0 </a></p>
<h2>v6.13.0</h2>
<ul>
<li>Bump <code>@docker/actions-toolkit</code> from 0.51.0 to 0.53.0 in
<a
href="https://redirect.github.com/docker/build-push-action/pull/1308 ">docker/build-push-action#1308</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v6.12.0...v6.13.0 ">https://github.com/docker/build-push-action/compare/v6.12.0...v6.13.0 </a></p>
<h2>v6.12.0</h2>
<ul>
<li>Bump <code>@docker/actions-toolkit</code> from 0.49.0 to 0.51.0 in
<a
href="https://redirect.github.com/docker/build-push-action/pull/1300 ">docker/build-push-action#1300</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v6.11.0...v6.12.0 ">https://github.com/docker/build-push-action/compare/v6.11.0...v6.12.0 </a></p>
<h2>v6.11.0</h2>
<ul>
<li>Handlebar <code>defaultContext</code> support for
<code>build-contexts</code> input by <a
href="https://github.com/crazy-max "><code>@crazy-max</code></a> in <a
href="https://redirect.github.com/docker/build-push-action/pull/1283 ">docker/build-push-action#1283</a></li>
<li>Bump <code>@docker/actions-toolkit</code> from 0.46.0 to 0.49.0 in
<a
href="https://redirect.github.com/docker/build-push-action/pull/1281 ">docker/build-push-action#1281</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v6.10.0...v6.11.0 ">https://github.com/docker/build-push-action/compare/v6.10.0...v6.11.0 </a></p>
<h2>v6.10.0</h2>
<ul>
<li>Add <code>call</code> input to set method for evaluating build by <a
href="https://github.com/crazy-max "><code>@crazy-max</code></a> in <a
href="https://redirect.github.com/docker/build-push-action/pull/1265 ">docker/build-push-action#1265</a></li>
<li>Bump <code>@actions/core</code> from 1.10.1 to 1.11.1 in <a
href="https://redirect.github.com/docker/build-push-action/pull/1238 ">docker/build-push-action#1238</a></li>
<li>Bump <code>@docker/actions-toolkit</code> from 0.39.0 to 0.46.0 in
<a
href="https://redirect.github.com/docker/build-push-action/pull/1268 ">docker/build-push-action#1268</a></li>
<li>Bump cross-spawn from 7.0.3 to 7.0.6 in <a
href="https://redirect.github.com/docker/build-push-action/pull/1261 ">docker/build-push-action#1261</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v6.9.0...v6.10.0 ">https://github.com/docker/build-push-action/compare/v6.9.0...v6.10.0 </a></p>
<h2>v6.9.0</h2>
<ul>
<li>Bump <code>@docker/actions-toolkit</code> from 0.38.0 to 0.39.0 in
<a
href="https://redirect.github.com/docker/build-push-action/pull/1234 ">docker/build-push-action#1234</a></li>
<li>Bump path-to-regexp from 6.2.2 to 6.3.0 in <a
href="https://redirect.github.com/docker/build-push-action/pull/1232 ">docker/build-push-action#1232</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v6.8.0...v6.9.0 ">https://github.com/docker/build-push-action/compare/v6.8.0...v6.9.0 </a></p>
<h2>v6.8.0</h2>
<ul>
<li>Bump <code>@docker/actions-toolkit</code> from 0.37.1 to 0.38.0 in
<a
href="https://redirect.github.com/docker/build-push-action/pull/1230 ">docker/build-push-action#1230</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v6.7.0...v6.8.0 ">https://github.com/docker/build-push-action/compare/v6.7.0...v6.8.0 </a></p>
<h2>v6.7.0</h2>
<ul>
<li>Print info message for build summary support checks by <a
href="https://github.com/crazy-max "><code>@crazy-max</code></a> in <a
href="https://redirect.github.com/docker/build-push-action/pull/1211 ">docker/build-push-action#1211</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v6.6.1...v6.7.0 ">https://github.com/docker/build-push-action/compare/v6.6.1...v6.7.0 </a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="471d1dc4e0 "><code>471d1dc</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/build-push-action/issues/1330 ">#1330</a>
from docker/dependabot/npm_and_yarn/docker/actions-t...</li>
<li><a
href="b89ff0a6f2 "><code>b89ff0a</code></a>
chore: update generated content</li>
<li><a
href="1e3ae3a4d3 "><code>1e3ae3a</code></a>
chore(deps): Bump <code>@docker/actions-toolkit</code> from 0.55.0 to
0.56.0</li>
<li><a
href="b16f42f92a "><code>b16f42f</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/build-push-action/issues/1325 ">#1325</a>
from crazy-max/buildx-edge</li>
<li><a
href="dc0fea5e62 "><code>dc0fea5</code></a>
ci: update buildx to edge and buildkit to latest</li>
<li><a
href="0adf995921 "><code>0adf995</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/build-push-action/issues/1324 ">#1324</a>
from docker/dependabot/npm_and_yarn/docker/actions-t...</li>
<li><a
href="d88cd289df "><code>d88cd28</code></a>
chore: update generated content</li>
<li><a
href="3d09a6bd70 "><code>3d09a6b</code></a>
chore(deps): Bump <code>@docker/actions-toolkit</code> from 0.53.0 to
0.55.0</li>
<li><a
href="ca877d9245 "><code>ca877d9</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/build-push-action/issues/1308 ">#1308</a>
from docker/dependabot/npm_and_yarn/docker/actions-t...</li>
<li><a
href="d2fe919bb5 "><code>d2fe919</code></a>
chore: update generated content</li>
<li>Additional commits viewable in <a
href="ca052bb54a...471d1dc4e0 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-24 12:51:08 +01:00
Ayaz Salikhov
88d27a7265
chore: Pin external actions using hashes ( #2019 )
...
Note: I used exactly the version which are already being used (didn't
update anything).
Updates will come when we merge https://github.com/XRPLF/clio/pull/2018
2025-04-23 17:35:40 +01:00
Alex Kremer
6896a2545a
chore: Update workflow notification settings ( #1990 )
2025-04-04 15:51:13 +01:00
Sergey Kuznetsov
60df3a1914
ci: Pin cmake 3.31.6 for macos runners ( #1983 )
...
Fixes #1982 .
2025-04-01 14:49:17 +01:00
Alex Kremer
cd1aa8fb70
chore: Revert workflow names ( #1890 )
2025-02-11 18:08:47 +00:00
Alex Kremer
f5e6c9576e
feat: Run tests with sanitizers in CI ( #1879 )
...
Fixes #1075
Fixes #1049
2025-02-10 16:20:25 +00:00
Sergey Kuznetsov
0a9dbe1cc1
ci: Switch CI to macos 15 runners ( #1761 )
2025-01-06 13:19:03 +00:00
Sergey Kuznetsov
9607cff8a0
ci: Fix errors in docker image uploading ( #1570 )
2024-07-30 16:56:37 +01:00
Sergey Kuznetsov
d536433d64
ci: Fix bugs in nightly docker publishing ( #1520 )
2024-07-05 15:04:08 +01:00
Sergey Kuznetsov
f77186002a
ci: Clio docker image ( #1509 )
...
Fixes #1051 .
2024-07-02 18:04:38 +01:00
Alex Kremer
66e8a65732
Flow to check new libXRPL version ( #1433 )
2024-05-29 17:31:15 +01:00
Alex Kremer
cbc856b190
Separate unit tests and integration tests ( #1393 )
...
Fixes #1391
2024-05-07 15:12:48 +01:00
Alex Kremer
0dcbbf9afa
Static linkage ( #1377 )
...
Fixes #1300
2024-04-25 16:51:16 +01:00
Alex Kremer
e931f27d3b
Support clang 16 in docker CI ( #1348 )
...
Fixes #1175
2024-04-15 12:09:34 +01:00
Sergey Kuznetsov
1b7d35b16c
Create issue if nightly fails ( #1333 )
...
Fixes #1276 .
2024-04-09 10:25:14 +01:00
Sergey Kuznetsov
27db183aff
Fix conan on macos in CI ( #1283 )
2024-03-20 15:39:19 +00:00
Alex Kremer
c17cc37c1c
Upgrade actions to newer versions ( #1262 )
...
Fixes #1245
2024-03-14 10:49:43 +00:00
Sergey Kuznetsov
e98e74d768
Add cmake-format to docker and mac runners ( #1213 )
...
For #1067
2024-02-26 23:08:31 +00:00
Sergey Kuznetsov
0f5da4414c
Turn on macOS runners in CI ( #1185 )
2024-02-23 13:22:03 +00:00
Alex Kremer
cea9c41a88
Upload codecov in separate workflow ( #1166 )
...
Fixes #1165
2024-02-08 16:20:54 +00:00
Alex Kremer
eeaccbabd9
Add attempt at auto rerun functionality ( #1105 )
...
Attempting to refactor clang-tidy as an action and reuse it from two workflows.
2024-01-15 19:48:59 +00:00
Alex Kremer
13d2d4e2ca
Enable DB tests via ScyllaDB service ( #1103 )
...
Fixes #1092
2024-01-15 12:09:00 +00:00
Sergey Kuznetsov
e89640bcfb
Add debug cache to ci ( #1078 )
...
Fixes #1066
2024-01-05 10:59:26 +00:00
Bronek Kozicki
a8bae96ad4
Add coverage_report target ( #1058 )
2023-12-21 15:08:32 +00:00
github-actions[bot]
a9d685d5c0
[CI] clang-tidy auto fixes ( #1046 )
...
Fixes #1045 .
2023-12-13 15:08:53 +00:00
Sergey Kuznetsov
d933ce2a29
Use clio_ci docker image ( #1033 )
...
Fixes #884
2023-12-12 16:03:08 +00:00
Sergey Kuznetsov
7d1d1749bc
Another fix of clang-tidy workflow ( #1026 )
...
Another fix for clang-tidy nightly check for #884
2023-12-11 15:11:30 +00:00
Sergey Kuznetsov
a34e107b86
Add nightly builds ( #1013 )
...
Partially fixes #884 .
Adds:
- Docker image for CI on Linux
- Nightly builds without cache and releases
- Nightly clang-tidy checks
- Fix typos in .clang-tidy
2023-12-08 18:22:22 +00:00
Sergey Kuznetsov
252920ec57
Fix CI
2023-11-29 15:24:50 +00:00
Sergey Kuznetsov
9ef6801c55
Fix git hook
2023-11-29 15:24:50 +00:00
Sergey Kuznetsov
35f119a268
Switch to llvm 17 tools ( #1002 )
...
Fixes #952
2023-11-28 20:09:58 +00:00
Alex Kremer
1aab2b94b1
Move to clang-format-16 ( #908 )
...
Fixes #848
2023-10-19 16:55:04 +01:00
Sergey Kuznetsov
a541e6d00e
Update gtest version ( #900 )
2023-10-09 15:36:28 +01:00
Sergey Kuznetsov
4b53bef1f5
Add clang tidy ( #864 )
...
Fixes #863
2023-10-03 10:43:54 +01:00
Sergey Kuznetsov
d1c41a8bb7
Don't use clio for conan cache hash ( #879 )
2023-10-02 11:43:51 +01:00