We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b1afa3 commit ad4f87bCopy full SHA for ad4f87b
1 file changed
.github/workflows/validate.yml
@@ -0,0 +1,35 @@
1
+name: Validate
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - main
8
9
+permissions:
10
+ contents: read
11
12
+jobs:
13
+ validate:
14
+ name: Validate marketing ops toolkit
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - name: Check out repository
19
+ uses: actions/checkout@v4
20
21
+ - name: Set up Python
22
+ uses: actions/setup-python@v5
23
+ with:
24
+ python-version: "3.12"
25
26
+ - name: Run repository guardrails
27
+ run: python scripts/validate_repo.py
28
29
+ - name: Compile Python modules
30
+ run: python -m py_compile $(git ls-files "*.py")
31
32
+ - name: Validate example JSON configs
33
+ run: |
34
+ python -m json.tool config/gmail_rules.example.json >/dev/null
35
+ python -m json.tool config/ads_accounts.example.json >/dev/null
0 commit comments