opt: variadic macro for MakeTerm #112
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
name: format | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
format: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout workspace | |
uses: actions/checkout@v3 | |
- name: Install pre-commit and install | |
run: | | |
pip install pre-commit | |
pre-commit install | |
- name: Run pre-commit checks | |
run: pre-commit run --all-files | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
- name: cargo doc | |
run: | | |
rustup default nightly | |
rustup component add rustfmt | |
cargo fmt | |
cargo doc --no-deps --all-features |