Files
wehub-resource-sync b5ecf06f65
Code Format Check / format-check (push) Failing after 1s
chore: import upstream snapshot with attribution
2026-07-13 12:24:32 +08:00

28 lines
507 B
YAML

name: Code Format Check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
format-check:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup environment
run: |
sudo apt-get update
sudo apt-get install -y bash
- name: Run format.sh
run: |
bash ./format.sh
# If format.sh return non-zero, GitHub Actions will mark it as failure.