Skip to content

Migrate structopt to clap #21

Migrate structopt to clap

Migrate structopt to clap #21

Workflow file for this run

name: Rust
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
with:
submodules: true
- name: Run tests without proposals
run: cargo test -- -q
- name: Run tests with proposals enabled
run: cargo test --features=proposals -- -q
- name: Run `clippy check`
uses: giraffate/clippy-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-check
clippy_flags: --workspace --features=proposals --all-targets -q -- -D warnings