mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-01-31 10:30:52 +00:00
Merge pull request #3812 from patricklodder/ci/check-subtrees
ci: check subtrees
This commit is contained in:
commit
46f7efdf6c
15
.github/workflows/linter.yml
vendored
15
.github/workflows/linter.yml
vendored
@ -15,3 +15,18 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Lint translation files
|
||||
run: python3 contrib/devtools/check-translations.py
|
||||
subtrees:
|
||||
name: Check Subtrees
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: Install prerequisites
|
||||
run: sudo apt update && sudo apt install -y bash git jq
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Check subtree integrity
|
||||
run: |
|
||||
jq -r '.[] | [.name, .remote] | join(" ")' contrib/subtrees.json | xargs -n2 git remote add
|
||||
jq -r '.[].name' contrib/subtrees.json | xargs -n1 git fetch
|
||||
jq -r '.[].path' contrib/subtrees.json | xargs -n1 bash contrib/devtools/git-subtree-check.sh
|
||||
|
||||
17
contrib/subtrees.json
Normal file
17
contrib/subtrees.json
Normal file
@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"name": "univalue-subtree",
|
||||
"path": "src/univalue",
|
||||
"remote": "https://github.com/dogecoin/univalue-subtree.git"
|
||||
},
|
||||
{
|
||||
"name": "secp256k1-subtree",
|
||||
"path": "src/secp256k1",
|
||||
"remote": "https://github.com/bitcoin-core/secp256k1.git"
|
||||
},
|
||||
{
|
||||
"name": "leveldb-subtree",
|
||||
"path": "src/leveldb",
|
||||
"remote": "https://github.com/bitcoin-core/leveldb-subtree"
|
||||
}
|
||||
]
|
||||
Loading…
x
Reference in New Issue
Block a user