mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 10:35:50 +00:00
chore: Update clang-format and prettier with pre-commit (#5709)
The change updates how clang-format is called in CI and locally, and adds prettier to the pre-commit hook. Proto files are now also formatted, while external files are excluded.
This commit is contained in:
24
.github/scripts/strategy-matrix/linux.json
vendored
24
.github/scripts/strategy-matrix/linux.json
vendored
@@ -2,21 +2,11 @@
|
||||
"architecture": [
|
||||
{
|
||||
"platform": "linux/amd64",
|
||||
"runner": [
|
||||
"self-hosted",
|
||||
"Linux",
|
||||
"X64",
|
||||
"heavy"
|
||||
]
|
||||
"runner": ["self-hosted", "Linux", "X64", "heavy"]
|
||||
},
|
||||
{
|
||||
"platform": "linux/arm64",
|
||||
"runner": [
|
||||
"self-hosted",
|
||||
"Linux",
|
||||
"ARM64",
|
||||
"heavy-arm64"
|
||||
]
|
||||
"runner": ["self-hosted", "Linux", "ARM64", "heavy-arm64"]
|
||||
}
|
||||
],
|
||||
"os": [
|
||||
@@ -159,12 +149,6 @@
|
||||
"compiler_version": "19"
|
||||
}
|
||||
],
|
||||
"build_type": [
|
||||
"Debug",
|
||||
"Release"
|
||||
],
|
||||
"cmake_args": [
|
||||
"-Dunity=OFF",
|
||||
"-Dunity=ON"
|
||||
]
|
||||
"build_type": ["Debug", "Release"],
|
||||
"cmake_args": ["-Dunity=OFF", "-Dunity=ON"]
|
||||
}
|
||||
|
||||
12
.github/scripts/strategy-matrix/macos.json
vendored
12
.github/scripts/strategy-matrix/macos.json
vendored
@@ -2,12 +2,7 @@
|
||||
"architecture": [
|
||||
{
|
||||
"platform": "macos/arm64",
|
||||
"runner": [
|
||||
"self-hosted",
|
||||
"macOS",
|
||||
"ARM64",
|
||||
"mac-runner-m1"
|
||||
]
|
||||
"runner": ["self-hosted", "macOS", "ARM64", "mac-runner-m1"]
|
||||
}
|
||||
],
|
||||
"os": [
|
||||
@@ -18,10 +13,7 @@
|
||||
"compiler_version": ""
|
||||
}
|
||||
],
|
||||
"build_type": [
|
||||
"Debug",
|
||||
"Release"
|
||||
],
|
||||
"build_type": ["Debug", "Release"],
|
||||
"cmake_args": [
|
||||
"-Dunity=OFF -DCMAKE_POLICY_VERSION_MINIMUM=3.5",
|
||||
"-Dunity=ON -DCMAKE_POLICY_VERSION_MINIMUM=3.5"
|
||||
|
||||
14
.github/scripts/strategy-matrix/windows.json
vendored
14
.github/scripts/strategy-matrix/windows.json
vendored
@@ -2,9 +2,7 @@
|
||||
"architecture": [
|
||||
{
|
||||
"platform": "windows/amd64",
|
||||
"runner": [
|
||||
"windows-latest"
|
||||
]
|
||||
"runner": ["windows-latest"]
|
||||
}
|
||||
],
|
||||
"os": [
|
||||
@@ -15,12 +13,6 @@
|
||||
"compiler_version": ""
|
||||
}
|
||||
],
|
||||
"build_type": [
|
||||
"Debug",
|
||||
"Release"
|
||||
],
|
||||
"cmake_args": [
|
||||
"-Dunity=OFF",
|
||||
"-Dunity=ON"
|
||||
]
|
||||
"build_type": ["Debug", "Release"],
|
||||
"cmake_args": ["-Dunity=OFF", "-Dunity=ON"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user