mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.3.0 to 6.0.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.3.0...de0fac2e4500dabe0009e67214ff5f5447ce83dd) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- 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
|