File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Rust"
2
+
3
+ on :
4
+ pull_request :
5
+ paths :
6
+ - " rust/**"
7
+ - " misc/bazel/**"
8
+ - " misc/codegen/**"
9
+ - " shared/**"
10
+ - " MODULE.bazel"
11
+ - .github/workflows/rust.yml
12
+ - .github/actions/**
13
+ - codeql-workspace.yml
14
+ - " !**/*.md"
15
+ - " !**/*.qhelp"
16
+ branches :
17
+ - rust-experiment
18
+ - main
19
+ - rc/*
20
+ - codeql-cli-*
21
+
22
+ permissions :
23
+ contents : read
24
+
25
+ jobs :
26
+ cargo-check :
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ - name : Checkout
30
+ uses : actions/checkout@v4
31
+ - name : Compilation
32
+ working-directory : rust/extractor
33
+ shell : bash
34
+ run : cargo check
35
+ - name : Clippy
36
+ working-directory : rust/extractor
37
+ shell : bash
38
+ run : |
39
+ cargo clippy --fix
40
+ git diff --exit-code
41
+ - name : Format
42
+ working-directory : rust/extractor
43
+ shell : bash
44
+ run : |
45
+ cargo fmt --check
46
+ - name : Code generation
47
+ working-directory : rust/extractor
48
+ shell : bash
49
+ run : |
50
+ bazel run codegen
51
+ git add .
52
+ git diff --exit-code HEAD
You can’t perform that action at this time.
0 commit comments