Merge another style workflow

This commit is contained in:
Jon Gjengset 2022-09-17 12:41:00 -07:00
parent bc3f551186
commit fe460400ed

View file

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