-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (28 loc) · 1.03 KB
/
Copy pathvalidate.yml
File metadata and controls
38 lines (28 loc) · 1.03 KB
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
33
34
35
36
37
38
name: Validate catalogue contract
on:
pull_request:
permissions:
contents: read
jobs:
catalog-contract:
name: catalog-contract
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Validate canonical catalogue surfaces
run: python3 scripts/validate_catalog.py --base-ref "${{ github.event.pull_request.base.sha }}"
- name: Verify maintainer exception boundaries
run: python3 scripts/test_validation_exceptions.py
- name: Install preview validation dependency
run: python3 -m pip install -r requirements-dev.txt
- name: Validate preview timing and still alternatives
run: python3 scripts/validate_previews.py
- name: Check patch whitespace
run: git diff --check "${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }}"