File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ concurrency:
13
13
cancel-in-progress : true
14
14
15
15
env :
16
+ # renovate: datasource=crate depName=cargo-deny versioning=semver
17
+ CARGO_DENY_VERSION : 0.13.9
16
18
# renovate: datasource=crate depName=diesel_cli versioning=semver
17
19
DIESEL_CLI_VERSION : 2.0.1
18
20
# renovate: datasource=npm depName=pnpm
53
55
Cargo.toml
54
56
rust-toolchain.toml
55
57
58
+ -
uses :
tj-actions/[email protected]
59
+ id : changed-files-rust-lockfile
60
+ with :
61
+ files : Cargo.lock
62
+
56
63
outputs :
57
64
non-js : ${{ steps.changed-files-non-js.outputs.any_modified }}
58
65
non-rust : ${{ steps.changed-files-non-rust.outputs.any_modified }}
66
+ rust-lockfile : ${{ steps.changed-files-rust-lockfile.outputs.any_modified }}
59
67
60
68
backend-lint :
61
69
name : Backend / Lint
77
85
- run : cargo fmt --check
78
86
- run : cargo clippy --all-targets --all-features --all
79
87
88
+ backend-dep-check :
89
+ name : Backend / Dependencies Check
90
+ runs-on : ubuntu-22.04
91
+ needs : changed-files
92
+ if : needs.changed-files.outputs.rust-lockfile == 'true'
93
+
94
+ env :
95
+ RUSTFLAGS : " -D warnings"
96
+
97
+ steps :
98
+
99
+
100
+ -
uses :
Swatinem/[email protected]
101
+
102
+ - run : cargo install cargo-deny --vers ${{ env.CARGO_DENY_VERSION }}
103
+ - run : cargo deny check
104
+
80
105
backend-test :
81
106
name : Backend / Test
82
107
runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments