Skip to content

Commit 28badd7

Browse files
committed
ci: Check consistency of generated files
This makes the .github/workflows/check-sourcecode more a "check-repo" than a "check-sourcecode".
1 parent 5aaaf76 commit 28badd7

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/check-sourcecode.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,24 @@ jobs:
2222

2323
- name: "Check the sourcecode"
2424
run: ./tools/check-sourcecode
25+
26+
check-generated:
27+
name: "Check Generated Files"
28+
runs-on: ubuntu-latest
29+
30+
steps:
31+
32+
- uses: actions/checkout@v4
33+
34+
- name: Install prerequisites
35+
run: >-
36+
sudo apt-get update
37+
38+
sudo apt-get install -y
39+
asciidoctor
40+
41+
- name: "Verify elf2tag.1 consistency"
42+
run: |
43+
cp src/elf2tag.1 src/original-elf2tag.1
44+
./src/update-elf2tag-manpage
45+
diff -u src/elf2tag.1 src/original-elf2tag.1

0 commit comments

Comments
 (0)