Skip to content

Commit 8678b25

Browse files
committed
Reuse masterlist CI workflow from prelude repo
1 parent 101b355 commit 8678b25

1 file changed

Lines changed: 2 additions & 35 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,5 @@ name: CI
44
on: [push, pull_request]
55

66
jobs:
7-
8-
build:
9-
runs-on: ubuntu-24.04
10-
11-
steps:
12-
- uses: actions/checkout@v4
13-
14-
- name: Set up Node
15-
uses: actions/setup-node@v4
16-
with:
17-
node-version: 22
18-
19-
- name: Install metadata validator dependencies
20-
run: |
21-
sudo apt-get update
22-
sudo apt-get install -y --no-upgrade \
23-
libicu74 \
24-
libtbb12
25-
26-
- name: Install metadata validator
27-
run: |
28-
wget https://github.com/loot/metadata-validator/releases/download/0.26.1/metadata-validator-0.26.1-0-g23e0aa1_0.26.1-Linux.tar.xz -O - | tar -xJ --strip-components=1
29-
ln -s libloot.so.0.26.1 libloot.so.0
30-
31-
- name: Install parser
32-
run: npm install -g js-yaml
33-
34-
- name: Download prelude file
35-
run: wget https://raw.githubusercontent.com/loot/prelude/v0.26/prelude.yaml
36-
37-
- name: Run metadata validator
38-
run: |
39-
./metadata_validator $GITHUB_WORKSPACE/masterlist.yaml
40-
./metadata_validator $GITHUB_WORKSPACE/masterlist.yaml $GITHUB_WORKSPACE/prelude.yaml
41-
js-yaml $GITHUB_WORKSPACE/masterlist.yaml > /dev/null
7+
validate:
8+
uses: loot/prelude/.github/workflows/masterlist-ci.yml@v0.26

0 commit comments

Comments
 (0)