-
Notifications
You must be signed in to change notification settings - Fork 469
30 lines (22 loc) · 747 Bytes
/
format.yml
File metadata and controls
30 lines (22 loc) · 747 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
name: Format Check
on: [push, pull_request]
env:
PUBLIC_SUPABASE_URL: "https://fake_test_url.supabase.co"
PUBLIC_SUPABASE_ANON_KEY: "fake_anon_key"
PRIVATE_SUPABASE_SERVICE_ROLE: "fake_service_role"
PRIVATE_STRIPE_API_KEY: "fake_strip_api_key"
jobs:
build_and_test:
name: Code Format Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- name: NPM install
run: npm install
- name: Check Code Format
run: npm run format_check
- name: Download go misspell utility
run: go install github.com/client9/misspell/cmd/misspell@latest
- name: Run misspell to fine misspelled words
run: misspell -error ./src README.md