|
|
@ -22,7 +22,7 @@ jobs: |
|
|
|
profile: minimal |
|
|
|
profile: minimal |
|
|
|
toolchain: stable |
|
|
|
toolchain: stable |
|
|
|
default: true |
|
|
|
default: true |
|
|
|
components: clippy, rustfmt |
|
|
|
components: clippy, rustfmt, rust-docs |
|
|
|
- name: Setup Rust nightly |
|
|
|
- name: Setup Rust nightly |
|
|
|
uses: actions-rs/toolchain@v1 |
|
|
|
uses: actions-rs/toolchain@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
@ -30,6 +30,11 @@ jobs: |
|
|
|
toolchain: nightly |
|
|
|
toolchain: nightly |
|
|
|
default: false |
|
|
|
default: false |
|
|
|
components: rustfmt |
|
|
|
components: rustfmt |
|
|
|
|
|
|
|
- name: Docs (doc) |
|
|
|
|
|
|
|
uses: actions-rs/cargo@v1 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
command: rustdoc |
|
|
|
|
|
|
|
args: --package reCTBN -- --default-theme=ayu |
|
|
|
- name: Linting (clippy) |
|
|
|
- name: Linting (clippy) |
|
|
|
uses: actions-rs/clippy-check@v1 |
|
|
|
uses: actions-rs/clippy-check@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|