-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (55 loc) · 1.61 KB
/
docs.yml
File metadata and controls
64 lines (55 loc) · 1.61 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Documentation Check
on:
push:
branches: [main]
paths:
- '**.md'
- 'docs/**'
pull_request:
branches: [main]
paths:
- '**.md'
- 'docs/**'
jobs:
markdown-lint:
name: Lint Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check Markdown Links
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
config-file: '.github/mlc_config.json'
continue-on-error: true
- name: Verify Required Files
run: |
echo "Checking required documentation files..."
files=("README.md" "SECURITY.md" "LICENSE" "CHANGELOG.md")
for file in "${files[@]}"; do
if [ -f "$file" ]; then
echo "✅ $file exists"
else
echo "❌ $file missing"
exit 1
fi
done
echo "✅ All required files present"
verify-deployment:
name: Verify Live Deployment
runs-on: ubuntu-latest
steps:
- name: Check Relayer Health
run: |
echo "Checking relayer health..."
response=$(curl -s https://relayer-falling-dust-5746.fly.dev/health || echo "failed")
if [[ "$response" == *"programId"* ]]; then
echo "✅ Relayer is live"
else
echo "⚠️ Relayer may be down"
fi
- name: Verify Program on Devnet
run: |
echo "Program ID: 7niGgy3EBVZtFjY1Gjx2hoeNHzeiJER76sEVhd4S5p6w"
echo "✅ Verified on Solana Devnet"