Skip to content

Bump clap from 3.2.25 to 4.4.18 #58

Bump clap from 3.2.25 to 4.4.18

Bump clap from 3.2.25 to 4.4.18 #58

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.65.0 # msrv
- stable
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
key: cargo
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo build
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.65.0 # msrv
- stable
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
key: cargo
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
key: cargo
- uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: nightly
override: true
- run: cargo clippy
- run: cargo fmt --all -- --check