|
|
@ -41,12 +41,22 @@ jobs:
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- id: component
|
|
|
|
|
|
|
|
uses: actions-rs/components-nightly@v1
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
component: rustfmt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- uses: actions-rs/toolchain@v1
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
toolchain: ${{ steps.component.outputs.toolchain }}
|
|
|
|
|
|
|
|
override: true
|
|
|
|
|
|
|
|
|
|
|
|
- name: setup
|
|
|
|
- name: setup
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
rustup default nightly
|
|
|
|
|
|
|
|
rustup component add rustfmt
|
|
|
|
rustup component add rustfmt
|
|
|
|
test -x $HOME/.cargo/bin/mdbook || ./ci/install-mdbook.sh
|
|
|
|
test -x $HOME/.cargo/bin/mdbook || ./ci/install-mdbook.sh
|
|
|
|
rustc --version
|
|
|
|
rustc --version
|
|
|
|
|
|
|
|
|
|
|
|
- name: mdbook
|
|
|
|
- name: mdbook
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
mdbook build docs
|
|
|
|
mdbook build docs
|
|
|
|