Merge pull request #167 from CriticalMoments/cookie_dep #397
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |