Merge another style workflow
This commit is contained in:
parent
bc3f551186
commit
fe460400ed
1 changed files with 16 additions and 6 deletions
|
|
@ -23,14 +23,24 @@ jobs:
|
||||||
with:
|
with:
|
||||||
command: fmt
|
command: fmt
|
||||||
args: --check
|
args: --check
|
||||||
- name: cargo doc
|
|
||||||
uses: actions-rs/cargo@v1
|
|
||||||
if: always()
|
|
||||||
with:
|
|
||||||
command: doc
|
|
||||||
args: --no-deps --all-features
|
|
||||||
- name: cargo clippy
|
- name: cargo clippy
|
||||||
uses: actions-rs/clippy-check@v1
|
uses: actions-rs/clippy-check@v1
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
doc:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: minimal
|
||||||
|
toolchain: nightly
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: cargo doc
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
toolchain: nightly
|
||||||
|
command: doc
|
||||||
|
args: --no-deps --all-features
|
||||||
|
env:
|
||||||
|
RUSTDOCFLAGS: --cfg docsrs
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue