[repo] ci: run lint and typechecks on all branches

This commit is contained in:
Yangshun 2025-07-03 17:27:40 +08:00
parent 43d628df1f
commit eed4264aed
2 changed files with 9 additions and 5 deletions

View File

@ -1,11 +1,13 @@
name: Lint
on:
push:
branches: [main]
branches:
- '**'
pull_request:
branches: [main]
branches:
- '**'
jobs:
test:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code

View File

@ -1,9 +1,11 @@
name: Typecheck
on:
push:
branches: [main]
branches:
- '**'
pull_request:
branches: [main]
branches:
- '**'
jobs:
typecheck:
runs-on: ubuntu-latest