Only style check on PRs to reduce CI time

This commit is contained in:
Yuki Okushi 2020-10-15 04:15:26 +09:00
parent 3b33743edd
commit 18211eae2d
1 changed files with 2 additions and 4 deletions

View File

@ -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