Skip to content

chore(deps): update rust crate clap to v4 #144

chore(deps): update rust crate clap to v4

chore(deps): update rust crate clap to v4 #144

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
style:
name: check style
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@master
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
components: rustfmt, clippy
- name: cargo fmt -- --check
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets --release -- -D clippy::all
test:
name: check test
needs: [style]
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
build: [stable]
include:
- build: stable
rust: stable
steps:
- uses: actions/checkout@master
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.build || 'stable' }}
profile: minimal
override: true
- name: cargo build
uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-targets --verbose ${{ matrix.features }}
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose ${{ matrix.features }}