Skip to content

fix

fix #634

Workflow file for this run

name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: davidB/rust-cargo-make@v1
- uses: actions/checkout@v1
- name: Run makers check
run: cargo make check
test:
runs-on: ubuntu-latest
steps:
- uses: davidB/rust-cargo-make@v1
- uses: actions/checkout@v1
- name: Run makers test
run: cargo make test
clippy:
runs-on: ubuntu-latest
steps:
- uses: davidB/rust-cargo-make@v1
- uses: actions/checkout@v1
- name: Run makers clippy
run: cargo make clippy
docs:
runs-on: ubuntu-latest
steps:
- uses: davidB/rust-cargo-make@v1
- uses: actions/checkout@v1
- name: Run makers docs
run: cargo make docs
- name: Check that crates.js is surely copied
run: test -e target/doc/crates.js
- name: Deploy GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: target/doc