forked from dogecoin/dogecoin
-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (31 loc) · 905 Bytes
/
Copy pathlinter.yml
File metadata and controls
32 lines (31 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: linter
on:
push:
paths-ignore:
- '**/*.md'
pull_request:
paths-ignore:
- '**/*.md'
jobs:
translations:
name: Check Translations
runs-on: ubuntu-24.04
steps:
- 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