feat: add documentation to all generated methods #122
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
name: Rust Check | |
on: push | |
jobs: | |
check: | |
name: Cargo Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- uses: taiki-e/install-action@v1 | |
with: | |
tool: cargo-hack@0.6.28,cargo-make | |
- run: cargo make check | |
clippy: | |
name: Clippy Lints | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: clippy | |
override: true | |
- uses: taiki-e/install-action@v1 | |
with: | |
tool: cargo-hack@0.6.28,cargo-make | |
- run: cargo make clippy | |
deadlinks: | |
name: Cargo Deadlinks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- uses: taiki-e/install-action@v1 | |
with: | |
tool: cargo-deadlinks,cargo-make | |
- run: cargo make deadlinks | |
deny: | |
name: Cargo Deny | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
checks: | |
- advisories | |
- bans licenses sources | |
# Prevent sudden announcement of a new advisory from failing ci: | |
continue-on-error: ${{ matrix.checks == 'advisories' }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: EmbarkStudios/cargo-deny-action@v1 | |
with: | |
command: check ${{ matrix.checks }} | |
msrv: | |
name: Cargo MSRV | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- uses: taiki-e/install-action@v1 | |
with: | |
tool: cargo-msrv,cargo-make | |
- run: cargo make msrv-verify | |
test: | |
name: Cargo Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- uses: taiki-e/install-action@v1 | |
with: | |
tool: cargo-hack@0.6.28,cargo-make | |
- run: cargo make test |