File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Check
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ check :
11+ runs-on : ubuntu-latest
12+
13+ # For downloading artifacts
14+ permissions :
15+ actions : read
16+ contents : read
17+
18+ steps :
19+ - uses : actions/checkout@v4
20+
21+ - uses : taiki-e/install-action@v2
22+ with :
23+ tool : just,ast-grep
24+
25+ - uses : astral-sh/setup-uv@v6
26+ with :
27+ cache-dependency-glob : |
28+ justfile
29+
30+ - run : just setup
31+ env :
32+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33+
34+ - run : just check
35+ - run : just test
Original file line number Diff line number Diff line change 11# Typst rules based on [ ast-grep] ( https://ast-grep.github.io )
22
3+ [ ![ Check] ( https://github.com/YDX-2147483647/ast-grep-typst/actions/workflows/ci.yml/badge.svg )] ( https://github.com/YDX-2147483647/ast-grep-typst/actions/workflows/ci.yml )
4+
35## Usage
46
57``` shell
You can’t perform that action at this time.
0 commit comments