From 1d1af21a00ae60c6d9b5ae6f493cbaae5e5558cd Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Fri, 14 Feb 2020 23:33:35 +0100 Subject: [PATCH] Add a cargo-doc run to github actions --- .github/workflows/code-quality.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index bda5d7001..18da2793c 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -45,4 +45,22 @@ jobs: - uses: actions-rs/clippy-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} - args: --all-features \ No newline at end of file + args: --all-features + + doc: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: nightly-2019-11-06 + override: true + - uses: actions-rs/cargo@v1 + with: + command: doc + args: --no-deps -p deltachat + - uses: actions-rs/cargo@v1 + with: + command: doc + args: --no-deps -p deltachat_ffi