diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09b4356f9d..be287cecdd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,8 @@ jobs: kind: bench - os: ${{ github.repository == 'denoland/deno' && 'ubuntu-latest-xl' || 'ubuntu-18.04' }} kind: lint + - os: ${{ github.repository == 'denoland/deno' && 'ubuntu-latest-xl' || 'ubuntu-18.04' }} + kind: publish-dry-run # Always run master branch builds to completion. This allows the cache to # stay mostly up-to-date in situations where a single job fails due to @@ -217,7 +219,9 @@ jobs: - name: Test debug if: matrix.kind == 'test_debug' - run: cargo test --locked --all-targets + run: | + cargo test --locked --doc + cargo test --locked --all-targets - name: Run Benchmarks if: matrix.kind == 'bench' @@ -264,6 +268,10 @@ jobs: target/release/lib.deno.d.ts draft: true + - name: Publish Dry Run + if: matrix.kind == 'publish-dry-run' + run: cd cli && cargo publish --dry-run + - name: Publish if: | startsWith(matrix.os, 'ubuntu') && diff --git a/core/async_cell.rs b/core/async_cell.rs index bf62692ed8..d11b839325 100644 --- a/core/async_cell.rs +++ b/core/async_cell.rs @@ -109,7 +109,7 @@ impl RcRef> { /// /// ```rust /// # use std::rc::Rc; -/// # use deno_core::async_cell::RcRef; +/// # use deno_core::RcRef; /// /// struct Stuff { /// foo: u32, diff --git a/core/resources2.rs b/core/resources2.rs index 92548a5565..989ea83280 100644 --- a/core/resources2.rs +++ b/core/resources2.rs @@ -133,8 +133,8 @@ impl ResourceTable { /// # Example /// /// ``` - /// # use deno_core::resources2::ResourceTable; - /// # let resource_table = ResourceTable::default(); + /// # use deno_core::ResourceTable2; + /// # let resource_table = ResourceTable2::default(); /// let resource_names = resource_table.names().collect::>(); /// ``` pub fn names(&self) -> impl Iterator)> {