Skip to content

build(deps): Update clap requirement in /packages/mrml-cli #13

build(deps): Update clap requirement in /packages/mrml-cli

build(deps): Update clap requirement in /packages/mrml-cli #13

Workflow file for this run

on:
push:
paths:
- .github/workflows/mrml-cli-*
- packages/mrml-cli/**
- Cargo.lock
- Cargo.toml
defaults:
run:
working-directory: packages/mrml-cli
env:
RUSTFLAGS: "-Dwarnings"
jobs:
code-checking:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.ref }}-mrml-cli-code-checking
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: rustfmt,clippy
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-code-checking-${{ hashFiles('**/Cargo.lock') }}
- name: run lint
run: cargo fmt --check
- name: run check
run: cargo check --all-features --tests
- name: run clippy
run: cargo clippy --all-targets --all-features --tests
testing:
runs-on: ubuntu-latest
container: rust:1-bullseye
concurrency:
group: ${{ github.ref }}-mrml-cli-testing
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-testing-${{ hashFiles('**/Cargo.lock') }}
- name: run tests
run: cargo test