Skip to content

core: fix typo in crate name last commit, add crates.io badge to README #18

core: fix typo in crate name last commit, add crates.io badge to README

core: fix typo in crate name last commit, add crates.io badge to README #18

Workflow file for this run

name: docs
on:
workflow_dispatch:
push:
paths:
- "metre/**"
- "metre-macros/**"
- "Cargo.toml"
- "Cargo.lock"
branches: [ main, dev ]
pull_request:
paths:
- "metre/**"
- "metre-macros/**"
- "Cargo.toml"
- "Cargo.lock"
branches: [ main, dev ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
# docs.rs run docs with a nighlty toolchain
# the crate uses nighly features only for documentation
toolchain: nightly
- name: Cargo Docs
working-directory: ./metre
run: rustup run nightly cargo rustdoc --all-features -- --cfg docsrs