File tree Expand file tree Collapse file tree 4 files changed +8
-25
lines changed
Expand file tree Collapse file tree 4 files changed +8
-25
lines changed Original file line number Diff line number Diff line change 1212 - name : Checkout
1313 uses : actions/checkout@v3
1414 - name : Install Rust
15- uses : actions-rs/toolchain@v1
16- with :
17- profile : minimal
18- toolchain : stable
15+ uses : dtolnay/rust-toolchain@stable
1916 - name : Cache
2017 uses : Swatinem/rust-cache@v2
2118
Original file line number Diff line number Diff line change @@ -23,15 +23,14 @@ jobs:
2323 - name : Prepare env
2424 run : |
2525 echo "JAVA_HOME=$JAVA_HOME_11_X64" >> $GITHUB_ENV
26+ echo "JAVA_HOME=$JAVA_HOME_11_X64" >> $env:GITHUB_ENV
2627
2728 - name : Checkout
2829 uses : actions/checkout@v3
2930 - name : Install Rust
30- uses : actions-rs/ toolchain@v1
31+ uses : dtolnay/rust- toolchain@stable
3132 with :
32- profile : minimal
33- toolchain : stable
34- components : rustfmt, clippy
33+ components : clippy, rustfmt
3534 - name : Cache
3635 uses : Swatinem/rust-cache@v2
3736
4342 run : cargo fmt -- --check
4443 - name : Clippy
4544 if : matrix.os == 'ubuntu-latest'
46- uses : actions-rs/clippy-check@v1
47- with :
48- token : ${{ secrets.GITHUB_TOKEN }}
49- args : --all-features
45+ run : cargo clippy --all-features
5046
5147 - name : Build test binary
5248 run : cargo test --no-run
Original file line number Diff line number Diff line change 2424 - name : Checkout
2525 uses : actions/checkout@v3
2626 - name : Install Rust
27- uses : actions-rs/toolchain@v1
28- with :
29- profile : minimal
30- toolchain : stable
27+ uses : dtolnay/rust-toolchain@stable
3128 - name : Cache
3229 uses : Swatinem/rust-cache@v2
3330 - name : Node
7572 - name : Checkout
7673 uses : actions/checkout@v3
7774 - name : Install Rust
78- uses : actions-rs/toolchain@v1
79- with :
80- profile : minimal
81- toolchain : stable
75+ uses : dtolnay/rust-toolchain@stable
8276 - name : Cache
8377 uses : Swatinem/rust-cache@v2
8478 - name : Node
@@ -115,10 +109,7 @@ jobs:
115109 - name : Checkout
116110 uses : actions/checkout@v3
117111 - name : Install Rust
118- uses : actions-rs/toolchain@v1
119- with :
120- profile : minimal
121- toolchain : stable
112+ uses : dtolnay/rust-toolchain@stable
122113 - name : Cache
123114 uses : Swatinem/rust-cache@v2
124115 - name : Node
Original file line number Diff line number Diff line change @@ -140,7 +140,6 @@ fn instantiate_jvm() -> Result<JvmWrapper, JavaError> {
140140 // j4rs may panic
141141 let jvm = match std:: panic:: catch_unwind ( || -> Result < Jvm , JavaError > {
142142 let jvm = JvmBuilder :: new ( )
143- . with_default_classloader ( )
144143 . with_base_path (
145144 tmc_dir
146145 . to_str ( )
You can’t perform that action at this time.
0 commit comments