-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 1008 Bytes
/
Copy pathvalidate.yml
File metadata and controls
39 lines (31 loc) · 1008 Bytes
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
39
name: Validate public marketplace pack
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.12"
- name: Check generated manifests
run: python3 scripts/generate_distribution.py --check
- name: Run tests
run: python3 -m unittest discover -s tests -p 'test_*.py'
- name: Verify reproducible AutoClaw archives
run: |
output="$(mktemp -d)"
python3 scripts/generate_distribution.py --autoclaw-dist "$output"
diff -u dist/autoclaw/SHA256SUMS "$output/SHA256SUMS"
- name: Reject whitespace errors
run: git diff --check