File tree 3 files changed +21
-2
lines changed
3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 47
47
working-directory : " integration-test"
48
48
run : " cargo test --locked"
49
49
50
+ rust-lint :
51
+ runs-on : ubuntu-24.04
52
+ steps :
53
+ - name : Checkout
54
+ uses : actions/checkout@v4
55
+ - name : Update Rust toolchain
56
+ run : rustup update
57
+ - name : Rust Cache
58
+ uses : Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
59
+ with :
60
+ workspaces : " ./integration-test"
61
+ - name : Clippy
62
+ run : cargo clippy --all-targets --all-features --locked -- --deny warnings
63
+ working-directory : integration-test
64
+ - name : rustfmt
65
+ run : cargo fmt -- --check
66
+ working-directory : integration-test
67
+
50
68
maven :
51
69
name : " Unit Tests (Java ${{ matrix.java-version }})"
52
70
runs-on : ubuntu-24.04
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ unreachable_pub = "warn"
8
8
unused_crate_dependencies = " warn"
9
9
10
10
[lints .clippy ]
11
- pedantic = " warn"
11
+ pedantic = { level = " warn" , priority = -1 }
12
+ missing_panics_doc = " allow"
12
13
13
14
[dependencies ]
14
15
exponential-backoff = " 2"
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ pub fn heroku_jvm_application_deployer_jar_path() -> PathBuf {
43
43
let dir_entry = dir_entry. unwrap ( ) ;
44
44
let file_name = dir_entry. file_name ( ) . to_string_lossy ( ) . into_owned ( ) ;
45
45
46
+ #[ allow( clippy:: case_sensitive_file_extension_comparisons) ]
46
47
if file_name. starts_with ( "heroku-jvm-application-deployer" ) && file_name. ends_with ( ".jar" ) {
47
48
return dir_entry. path ( ) ;
48
49
}
@@ -171,7 +172,6 @@ where
171
172
result @ Err ( _) => match backoff_durations. next ( ) {
172
173
Some ( Some ( backoff_duration) ) => {
173
174
std:: thread:: sleep ( backoff_duration) ;
174
- continue ;
175
175
}
176
176
_ => return result,
177
177
} ,
You can’t perform that action at this time.
0 commit comments