File tree Expand file tree Collapse file tree 3 files changed +63
-0
lines changed Expand file tree Collapse file tree 3 files changed +63
-0
lines changed Original file line number Diff line number Diff line change
1
+ docs :
2
+ - changed-files :
3
+ - any-glob-to-any-file : ' **/*.md'
4
+
5
+ action :
6
+ - changed-files :
7
+ - any-glob-to-any-file : ' .github/action/*'
8
+
9
+ lib :
10
+ - changed-files :
11
+ - any-glob-to-any-file :
12
+ - ' src/'
13
+
14
+ cli :
15
+ - changed-files :
16
+ - any-glob-to-any-file :
17
+ - ' geekorm-cli/'
18
+
19
+ lib-core :
20
+ - changed-files :
21
+ - any-glob-to-any-file :
22
+ - ' geekorm-core/'
23
+
24
+ lib-derive :
25
+ - changed-files :
26
+ - any-glob-to-any-file :
27
+ - ' geekorm-derive/'
28
+
29
+ examples :
30
+ - changed-files :
31
+ - any-glob-to-any-file :
32
+ - ' examples/'
33
+
Original file line number Diff line number Diff line change @@ -15,19 +15,36 @@ jobs:
15
15
16
16
steps :
17
17
- uses : actions/checkout@v4
18
+
19
+ - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
20
+ id : changes
21
+ with :
22
+ filters : |
23
+ src:
24
+ - '**/Cargo.*'
25
+ - 'rust-toolchain.toml'
26
+ - 'src/**'
27
+ - 'geekorm-*'
28
+ - 'examples/**'
29
+ - 'tests/**'
30
+
18
31
- uses : dtolnay/rust-toolchain@nightly
32
+ if : steps.changes.outputs.src == 'true'
19
33
with :
20
34
components : clippy
21
35
22
36
- name : Build
37
+ if : steps.changes.outputs.src == 'true'
23
38
run : |
24
39
cargo build
25
40
26
41
- name : Run tests
42
+ if : steps.changes.outputs.src == 'true'
27
43
run : |
28
44
cargo test --all-features --workspace
29
45
30
46
- name : Run Analysis
47
+ if : steps.changes.outputs.src == 'true'
31
48
run : |
32
49
cargo clippy --all-targets
33
50
Original file line number Diff line number Diff line change
1
+ name : " Pull Request Labeler"
2
+ on :
3
+ - pull_request_target
4
+
5
+ jobs :
6
+ labeler :
7
+ permissions :
8
+ contents : read
9
+ pull-requests : write
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/labeler@v5
13
+
You can’t perform that action at this time.
0 commit comments