summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-12-09 11:02:07 -0500
committerGitHub <noreply@github.com>2020-12-09 17:02:07 +0100
commitb6dd850f71c029a3d82eb10c2528380b0ed4bc71 (patch)
tree3ad1bcaba9e349066627cacd2a24ddb9aa52f364 /.github
parentd492fb0eac8296513f003cf32edf80ec99bf8f2b (diff)
build: fix doctests, run cargo publish --dry-run (#8689)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 09b4356f9..be287cecd 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') &&