File tree Expand file tree Collapse file tree 1 file changed +4
-28
lines changed Expand file tree Collapse file tree 1 file changed +4
-28
lines changed Original file line number Diff line number Diff line change 5656 - name : Install Rust
5757 uses : dtolnay/rust-toolchain@stable
5858
59- - name : Cache dependencies
60- uses : actions/cache@v3
61- with :
62- path : |
63- ~/.cargo/registry
64- ~/.cargo/git
65- target
66- key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
67- restore-keys : ${{ runner.os }}-cargo-
59+ - uses : Swatinem/rust-cache@v2
6860
6961 - name : Run clippy
7062 run : cargo clippy --all-targets --all-features -- -D warnings
9385 - name : Create venv for python
9486 run : uv venv
9587
96- - name : Cache dependencies
97- uses : actions/cache@v3
98- with :
99- path : |
100- ~/.cargo/registry
101- ~/.cargo/git
102- target
103- key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
104- restore-keys : ${{ runner.os }}-cargo-
88+ - uses : Swatinem/rust-cache@v2
10589
10690 - name : Run tests
10791 run : cargo test --all-features
@@ -117,15 +101,7 @@ jobs:
117101 - name : Install Rust
118102 uses : dtolnay/rust-toolchain@stable
119103
120- - name : Cache dependencies
121- uses : actions/cache@v3
122- with :
123- path : |
124- ~/.cargo/registry
125- ~/.cargo/git
126- target
127- key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
128- restore-keys : ${{ runner.os }}-cargo-
104+ - uses : Swatinem/rust-cache@v2
129105
130106 - name : Cargo login
131107 run : cargo login ${{ secrets.CRATES_TOKEN }}
@@ -146,4 +122,4 @@ jobs:
146122 - name : Publish rmcp
147123 if : ${{ startsWith(github.ref, 'refs/tags/release') }}
148124 continue-on-error : true
149- run : cargo publish -p rmcp
125+ run : cargo publish -p rmcp
You can’t perform that action at this time.
0 commit comments