File tree Expand file tree Collapse file tree 2 files changed +46
-3
lines changed
Expand file tree Collapse file tree 2 files changed +46
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Lint rule docs
2+ on :
3+ pull_request :
4+ branches :
5+ - main
6+ - next
7+ paths :
8+ # Run only when we change the analyze crates
9+ - " **/biome_*_analyze/**/*.rs"
10+ - " **/biome_analyze/**/*.rs"
11+ push :
12+ branches :
13+ - main
14+ - next
15+ paths :
16+ # Run only when we change the analyze crates
17+ - " **/biome_*_analyze/**/*.rs"
18+ - " **/biome_analyze/**/*.rs"
19+
20+
21+ # Cancel jobs when the PR is updated
22+ concurrency :
23+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
24+ cancel-in-progress : true
25+
26+ env :
27+ RUST_LOG : info
28+ RUST_BACKTRACE : 1
29+ RUSTUP_WINDOWS_PATH_ADD_BIN : 1
30+
31+ jobs :
32+ rule_docs :
33+ name : Validate rules documentation
34+ runs-on : depot-ubuntu-24.04-arm-16
35+ steps :
36+ - name : Checkout PR Branch
37+ uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
38+ - name : Install toolchain
39+ uses : moonrepo/setup-rust@ede6de059f8046a5e236c94046823e2af11ca670 # v1.2.2
40+ with :
41+ cache-base : main
42+ env :
43+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44+ - name : Run rules check
45+ run : cargo run -p rules_check
Original file line number Diff line number Diff line change 4646 env :
4747 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4848 - name : Run clippy
49- run : |
50- cargo lint
51- cargo run -p rules_check
49+ run : cargo lint
5250
5351 check-dependencies :
5452 name : Check Dependencies
You can’t perform that action at this time.
0 commit comments