summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-10-15 04:15:26 +0900
committerYuki Okushi <huyuumi.dev@gmail.com>2020-10-15 04:15:26 +0900
commit18211eae2d77737ab1b6226f53d066e2a473c4d5 (patch)
tree56eef345737be5b273d227a507867d28f140fb2c
parent3b33743edd17ad53d5a6c0d6677987448ccf53b5 (diff)
downloadrust-libc-18211eae2d77737ab1b6226f53d066e2a473c4d5.tar.gz
Only style check on PRs to reduce CI time
-rw-r--r--.github/workflows/main.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index a67a9efa5d..193abba139 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -71,8 +71,8 @@ jobs:
run: LIBC_CI=1 sh ./ci/run.sh ${{ matrix.target }}
shell: bash
- style_and_docs:
- name: Style and docs
+ style_check:
+ name: Style check
runs-on: ubuntu-18.04
strategy:
fail-fast: true
@@ -82,5 +82,3 @@ jobs:
run: sh ./ci/install-rust.sh
- name: Check style
run: sh ci/style.sh
- - name: Generate documentation
- run: LIBC_CI=1 sh ci/dox.sh