Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 4 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable

- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- uses: Swatinem/rust-cache@v2

- name: Run clippy
run: cargo clippy --all-targets --all-features -- -D warnings
Expand Down Expand Up @@ -93,15 +85,7 @@ jobs:
- name: Create venv for python
run: uv venv

- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- uses: Swatinem/rust-cache@v2

- name: Run tests
run: cargo test --all-features
Expand All @@ -117,15 +101,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable

- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- uses: Swatinem/rust-cache@v2

- name: Cargo login
run: cargo login ${{ secrets.CRATES_TOKEN }}
Expand All @@ -146,4 +122,4 @@ jobs:
- name: Publish rmcp
if: ${{ startsWith(github.ref, 'refs/tags/release') }}
continue-on-error: true
run: cargo publish -p rmcp
run: cargo publish -p rmcp
Loading