Separate CI into multiple files #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Runs documentation related jobs. | |
name: doc | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
doc: | |
name: doc stable on ubuntu-latest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
override: true | |
- name: Doc | |
uses: actions-rs/cargo@v1 | |
with: | |
command: doc | |
args: | |
- name: Check docs | |
uses: actions-rs/cargo@v1 | |
env: | |
RUSTDOCFLAGS: -D warnings | |
with: | |
command: doc | |
args: --verbose --keep-going ${{matrix.args}} |