chore: Fix file formatting (#5718)

This commit is contained in:
Bart
2025-08-22 10:02:56 -04:00
committed by GitHub
parent 58dd07bbdf
commit 896b8c3b54
27 changed files with 170 additions and 173 deletions

View File

@@ -7,33 +7,33 @@ name: Build Conan dependencies
# https://docs.github.com/en/actions/reference/workflows-and-actions/metadata-syntax#inputs.
inputs:
build_dir:
description: 'The directory where to build.'
description: "The directory where to build."
required: true
build_type:
description: 'The build type to use ("Debug", "Release").'
required: true
conan_remote_name:
description: 'The name of the Conan remote to use.'
description: "The name of the Conan remote to use."
required: true
conan_remote_url:
description: 'The URL of the Conan endpoint to use.'
description: "The URL of the Conan endpoint to use."
required: true
conan_remote_username:
description: 'The username for logging into the Conan remote. If not provided, the dependencies will not be uploaded.'
description: "The username for logging into the Conan remote. If not provided, the dependencies will not be uploaded."
required: false
default: ''
default: ""
conan_remote_password:
description: 'The password for logging into the Conan remote. If not provided, the dependencies will not be uploaded.'
description: "The password for logging into the Conan remote. If not provided, the dependencies will not be uploaded."
required: false
default: ''
default: ""
force_build:
description: 'Force building of all dependencies ("true", "false").'
required: false
default: 'false'
default: "false"
force_upload:
description: 'Force uploading of all dependencies ("true", "false").'
required: false
default: 'false'
default: "false"
runs:
using: composite

View File

@@ -6,26 +6,26 @@ name: Build and Test
# https://docs.github.com/en/actions/reference/workflows-and-actions/metadata-syntax#inputs.
inputs:
build_dir:
description: 'The directory where to build.'
description: "The directory where to build."
required: true
build_only:
description: 'Whether to only build or to build and test the code ("true", "false").'
required: false
default: 'false'
default: "false"
build_type:
description: 'The build type to use ("Debug", "Release").'
required: true
cmake_args:
description: 'Additional arguments to pass to CMake.'
description: "Additional arguments to pass to CMake."
required: false
default: ''
default: ""
cmake_target:
description: 'The CMake target to build.'
description: "The CMake target to build."
required: true
codecov_token:
description: 'The Codecov token to use for uploading coverage reports.'
description: "The Codecov token to use for uploading coverage reports."
required: false
default: ''
default: ""
os:
description: 'The operating system to use for the build ("linux", "macos", "windows").'
required: true

View File

@@ -111,4 +111,4 @@ get those details locally.
1. Run `levelization.sh`
2. Grep the modules in `paths.txt`.
- For example, if a cycle is found `A ~= B`, simply `grep -w
A .github/scripts/levelization/results/paths.txt | grep -w B`
A .github/scripts/levelization/results/paths.txt | grep -w B`

View File

@@ -9,25 +9,25 @@ on:
workflow_call:
inputs:
build_dir:
description: 'The directory where to build.'
description: "The directory where to build."
required: false
type: string
default: '.build'
default: ".build"
conan_remote_name:
description: 'The name of the Conan remote to use.'
description: "The name of the Conan remote to use."
required: true
type: string
conan_remote_url:
description: 'The URL of the Conan endpoint to use.'
description: "The URL of the Conan endpoint to use."
required: true
type: string
dependencies_force_build:
description: 'Force building of all dependencies.'
description: "Force building of all dependencies."
required: false
type: boolean
default: false
dependencies_force_upload:
description: 'Force uploading of all dependencies.'
description: "Force uploading of all dependencies."
required: false
type: boolean
default: false
@@ -40,16 +40,16 @@ on:
description: 'The strategy matrix to use for generating the configurations ("minimal", "all").'
required: false
type: string
default: 'minimal'
default: "minimal"
secrets:
codecov_token:
description: 'The Codecov token to use for uploading coverage reports.'
description: "The Codecov token to use for uploading coverage reports."
required: false
conan_remote_username:
description: 'The username for logging into the Conan remote. If not provided, the dependencies will not be uploaded.'
description: "The username for logging into the Conan remote. If not provided, the dependencies will not be uploaded."
required: false
conan_remote_password:
description: 'The password for logging into the Conan remote. If not provided, the dependencies will not be uploaded.'
description: "The password for logging into the Conan remote. If not provided, the dependencies will not be uploaded."
required: false
concurrency:

View File

@@ -8,22 +8,22 @@ on:
workflow_call:
inputs:
conan_remote_name:
description: 'The name of the Conan remote to use.'
description: "The name of the Conan remote to use."
required: true
type: string
conan_remote_url:
description: 'The URL of the Conan endpoint to use.'
description: "The URL of the Conan endpoint to use."
required: true
type: string
secrets:
clio_notify_token:
description: 'The GitHub token to notify Clio about new versions.'
description: "The GitHub token to notify Clio about new versions."
required: true
conan_remote_username:
description: 'The username for logging into the Conan remote.'
description: "The username for logging into the Conan remote."
required: true
conan_remote_password:
description: 'The password for logging into the Conan remote.'
description: "The password for logging into the Conan remote."
required: true
concurrency:

View File

@@ -7,28 +7,28 @@ name: PR
on:
pull_request:
paths:
- '.github/actions/build-deps/**'
- '.github/actions/build-test/**'
- '.github/scripts/levelization/**'
- '.github/scripts/strategy-matrix/**'
- '.github/workflows/build-test.yml'
- '.github/workflows/check-format.yml'
- '.github/workflows/check-levelization.yml'
- '.github/workflows/notify-clio.yml'
- '.github/workflows/on-pr.yml'
- ".github/actions/build-deps/**"
- ".github/actions/build-test/**"
- ".github/scripts/levelization/**"
- ".github/scripts/strategy-matrix/**"
- ".github/workflows/build-test.yml"
- ".github/workflows/check-format.yml"
- ".github/workflows/check-levelization.yml"
- ".github/workflows/notify-clio.yml"
- ".github/workflows/on-pr.yml"
# Keep the list of paths below in sync with those in the `on-trigger.yml`
# file.
- 'cmake/**'
- 'conan/**'
- 'external/**'
- 'include/**'
- 'src/**'
- 'tests/**'
- '.clang-format'
- '.codecov.yml'
- '.pre-commit-config.yaml'
- 'CMakeLists.txt'
- 'conanfile.py'
- "cmake/**"
- "conan/**"
- "external/**"
- "include/**"
- "src/**"
- "tests/**"
- ".clang-format"
- ".codecov.yml"
- ".pre-commit-config.yaml"
- "CMakeLists.txt"
- "conanfile.py"
types:
- opened
- synchronize

View File

@@ -13,31 +13,31 @@ on:
- release
- master
paths:
- '.github/actions/build-deps/**'
- '.github/actions/build-test/**'
- '.github/scripts/strategy-matrix/**'
- '.github/workflows/build-test.yml'
- '.github/workflows/check-missing-commits.yml'
- '.github/workflows/on-trigger.yml'
- '.github/workflows/publish-docs.yml'
- ".github/actions/build-deps/**"
- ".github/actions/build-test/**"
- ".github/scripts/strategy-matrix/**"
- ".github/workflows/build-test.yml"
- ".github/workflows/check-missing-commits.yml"
- ".github/workflows/on-trigger.yml"
- ".github/workflows/publish-docs.yml"
# Keep the list of paths below in sync with those in `on-pr.yml`.
- 'cmake/**'
- 'conan/**'
- 'external/**'
- 'include/**'
- 'src/**'
- 'tests/**'
- '.clang-format'
- '.codecov.yml'
- '.pre-commit-config.yaml'
- 'CMakeLists.txt'
- 'conanfile.py'
- "cmake/**"
- "conan/**"
- "external/**"
- "include/**"
- "src/**"
- "tests/**"
- ".clang-format"
- ".codecov.yml"
- ".pre-commit-config.yaml"
- "CMakeLists.txt"
- "conanfile.py"
# Run at 06:32 UTC on every day of the week from Monday through Friday. This
# will force all dependencies to be rebuilt, which is useful to verify that
# all dependencies can be built successfully. Only the dependencies that
# are actually missing from the remote will be uploaded.
schedule:
- cron: '32 6 * * 1-5'
- cron: "32 6 * * 1-5"
# Run when manually triggered via the GitHub UI or API. If `force_upload` is
# true, then the dependencies that were missing (`force_rebuild` is false) or
# rebuilt (`force_rebuild` is true) will be uploaded, overwriting existing
@@ -45,12 +45,12 @@ on:
workflow_dispatch:
inputs:
dependencies_force_build:
description: 'Force building of all dependencies.'
description: "Force building of all dependencies."
required: false
type: boolean
default: false
dependencies_force_upload:
description: 'Force uploading of all dependencies.'
description: "Force uploading of all dependencies."
required: false
type: boolean
default: false
@@ -109,7 +109,7 @@ jobs:
dependencies_force_build: ${{ needs.generate-outputs.outputs.dependencies_force_build == 'true' }}
dependencies_force_upload: ${{ needs.generate-outputs.outputs.dependencies_force_upload == 'true' }}
os: ${{ matrix.os }}
strategy_matrix: 'all'
strategy_matrix: "all"
secrets:
conan_remote_username: ${{ secrets.CONAN_REMOTE_USERNAME }}
conan_remote_password: ${{ secrets.CONAN_REMOTE_PASSWORD }}

View File

@@ -5,13 +5,13 @@ name: Build and publish documentation
on:
push:
paths:
- '.github/workflows/publish-docs.yml'
- '*.md'
- '**/*.md'
- 'docs/**'
- 'include/**'
- 'src/libxrpl/**'
- 'src/xrpld/**'
- ".github/workflows/publish-docs.yml"
- "*.md"
- "**/*.md"
- "docs/**"
- "include/**"
- "src/libxrpl/**"
- "src/xrpld/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

View File

@@ -83,4 +83,3 @@ fi
_run git fetch --jobs=$(nproc) upstreams
exit 0

View File

@@ -66,4 +66,3 @@ git push $push HEAD:$b
git fetch $repo
-------------------------------------------------------------------
PUSH

View File

@@ -505,4 +505,3 @@ LEDGER_ENTRY(ltVAULT, 0x0084, Vault, vault, ({
#undef EXPAND
#undef LEDGER_ENTRY_DUPLICATE