Skip to content

Commit 09cdce6

Browse files
committed
Move linux-install-compare into its own reusable workflow
1 parent eba5adc commit 09cdce6

2 files changed

Lines changed: 28 additions & 16 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -582,23 +582,8 @@ jobs:
582582
583583
linux-install-compare:
584584
name: Ubuntu co-install comparison
585-
runs-on: ubuntu-latest
585+
uses: ./.github/workflows/reusable-linux-install-compare.yml
586586
needs: build-ubuntu
587-
steps:
588-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
589-
with:
590-
python-version: '3.x'
591-
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
592-
with:
593-
persist-credentials: false
594-
- name: Download install hashes
595-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
596-
with:
597-
path: install-hashes
598-
pattern: install-hashes-*
599-
merge-multiple: true
600-
- name: Compare install hashes
601-
run: python3 Tools/coinstall-check/compare.py install-hashes
602587

603588
cifuzz:
604589
# ${{ '' } is a hack to nest jobs under the same sidebar category.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Reusable Ubuntu co-install comparison
2+
3+
permissions:
4+
contents: read
5+
6+
env:
7+
FORCE_COLOR: 1
8+
9+
jobs:
10+
install-compare:
11+
name: Ubuntu co-install comparison
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
15+
with:
16+
python-version: '3.x'
17+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
18+
with:
19+
persist-credentials: false
20+
- name: Download install hashes
21+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
22+
with:
23+
path: install-hashes
24+
pattern: install-hashes-*
25+
merge-multiple: true
26+
- name: Compare install hashes
27+
run: python3 Tools/coinstall-check/compare.py install-hashes

0 commit comments

Comments
 (0)