mirror of
https://github.com/XRPLF/rippled.git
synced 2026-02-07 15:32:34 +00:00
Per [XLS-0095](https://xls.xrpl.org/xls/XLS-0095-rename-rippled-to-xrpld.html), we are taking steps to rename ripple(d) to xrpl(d). This change modifies the binary name from `rippled` to `xrpld`, and creates a symlink named `rippled` that points to the `xrpld` binary. Note that https://github.com/XRPLF/rippled/pull/5975 renamed any references to `rippled` in the CMake files and their contents, but explicitly maintained the `rippled` binary name by adding an exception. This change now undoes this exception and adds an explicit symlink instead.
47 lines
1.5 KiB
YAML
47 lines
1.5 KiB
YAML
# This workflow checks if the dependencies between the modules are correctly
|
|
# indexed.
|
|
name: Check levelization
|
|
|
|
# This workflow can only be triggered by other workflows.
|
|
on: workflow_call
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}-levelization
|
|
cancel-in-progress: true
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
levelization:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
|
- name: Check levelization
|
|
run: .github/scripts/levelization/generate.sh
|
|
- name: Check for differences
|
|
env:
|
|
MESSAGE: |
|
|
|
|
The dependency relationships between the modules in xrpld have
|
|
changed, which may be an improvement or a regression.
|
|
|
|
A rule of thumb is that if your changes caused something to be
|
|
removed from loops.txt, it's probably an improvement, while if
|
|
something was added, it's probably a regression.
|
|
|
|
Run '.github/scripts/levelization/generate.sh' in your repo, commit
|
|
and push the changes. See .github/scripts/levelization/README.md for
|
|
more info.
|
|
run: |
|
|
DIFF=$(git status --porcelain)
|
|
if [ -n "${DIFF}" ]; then
|
|
# Print the differences to give the contributor a hint about what to
|
|
# expect when running levelization on their own machine.
|
|
git diff
|
|
echo "${MESSAGE}"
|
|
exit 1
|
|
fi
|