File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 5
5
Link-Format-Checks :
6
6
runs-on : ubuntu-latest
7
7
steps :
8
- - uses : actions/checkout@v3
8
+ - uses : actions/checkout@v4
9
9
- run : scripts/link-format-chk.sh
10
10
Build-Table-Checks :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v3
13
+ - uses : actions/checkout@v4
14
14
- run : scripts/buildtable.pl >/tmp/table.mediawiki || exit 1
15
15
Diff-Checks :
16
+ name : " Diff Checks (fails until number assignment)"
16
17
runs-on : ubuntu-latest
17
18
steps :
18
- - uses : actions/checkout@v3
19
+ - uses : actions/checkout@v4
20
+ with :
21
+ fetch-depth : 2
19
22
- run : scripts/diffcheck.sh
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
+ scripts/buildtable.pl > /tmp/table.mediawiki 2> /dev/null
3
4
diff README.mediawiki /tmp/table.mediawiki | grep ' ^[<>] |' > /tmp/after.diff || true
4
5
if git checkout HEAD^ && scripts/buildtable.pl > /tmp/table.mediawiki 2> /dev/null; then
5
6
diff README.mediawiki /tmp/table.mediawiki | grep ' ^[<>] |' > /tmp/before.diff || true
@@ -8,6 +9,8 @@ if git checkout HEAD^ && scripts/buildtable.pl >/tmp/table.mediawiki 2>/dev/null
8
9
echo " $newdiff "
9
10
exit 1
10
11
fi
12
+ echo " README table matches expected table from BIP files"
11
13
else
12
14
echo ' Cannot build previous commit table for comparison'
15
+ exit 1
13
16
fi
You can’t perform that action at this time.
0 commit comments