Skip to content

Commit 701a761

Browse files
committed
Fix ci
1 parent 49dfc63 commit 701a761

4 files changed

Lines changed: 3 additions & 80 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -150,38 +150,6 @@ jobs:
150150
- name: Build release
151151
run: cargo build --release --verbose
152152

153-
doc:
154-
name: Documentation
155-
runs-on: ubuntu-latest
156-
steps:
157-
- uses: actions/checkout@v4
158-
159-
- name: Install Rust
160-
uses: dtolnay/rust-toolchain@stable
161-
162-
- name: Cache cargo registry
163-
uses: actions/cache@v4
164-
with:
165-
path: ~/.cargo/registry
166-
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
167-
168-
- name: Cache cargo index
169-
uses: actions/cache@v4
170-
with:
171-
path: ~/.cargo/git
172-
key: ${{ runner.os }}-cargo-git-${{ hashFiles('**/Cargo.lock') }}
173-
174-
- name: Cache cargo build
175-
uses: actions/cache@v4
176-
with:
177-
path: target
178-
key: ${{ runner.os }}-cargo-doc-target-${{ hashFiles('**/Cargo.lock') }}
179-
180-
- name: Check documentation
181-
run: cargo doc --no-deps --document-private-items
182-
env:
183-
RUSTDOCFLAGS: -D warnings
184-
185153
dependencies:
186154
name: Dependency Audit
187155
runs-on: ubuntu-latest
@@ -196,7 +164,7 @@ jobs:
196164

197165
success:
198166
name: All Checks Passed
199-
needs: [fmt, clippy, test, build, doc]
167+
needs: [fmt, clippy, test, build]
200168
runs-on: ubuntu-latest
201169
steps:
202170
- name: Success

.github/workflows/quick-ci.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
push:
55
tags:
6-
- 'v*.*.*'
6+
- '*.*.*'
77

88
env:
99
CARGO_TERM_COLOR: always

src/progress.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ pub struct WorkDoneProgressCancelParams {
4040
pub token: ProgressToken,
4141
}
4242

43+
#[allow(dead_code)]
4344
/// Options to signal work done progress support in server capabilities.
4445
#[derive(Debug, Eq, PartialEq, Default, Deserialize, Serialize, Clone)]
4546
#[serde(rename_all = "camelCase")]

0 commit comments

Comments
 (0)