Skip to content

Bump clap from 4.5.4 to 4.5.6 #149

Bump clap from 4.5.4 to 4.5.6

Bump clap from 4.5.4 to 4.5.6 #149

Workflow file for this run

name: CI
on:
push:
paths: ['**.rs', '**.toml', '**.lock', '**/ci.yml', '**/test.sh']
pull_request:
paths: ['**.rs', '**.toml', '**.lock', '**/ci.yml', '**/test.sh']
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: '-C target-cpu=native'
jobs:
build_and_test:
name: full check (${{ matrix.toolchain }} rust)
runs-on: macos-14
strategy:
fail-fast: false
matrix:
toolchain: [stable, beta, nightly]
steps:
- uses: actions/checkout@v4
- name: switch to ${{ matrix.toolchain }} channel
run: |
rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
rustup component add rustfmt clippy
- name: build
run: cargo b -v --locked
- name: fmt and clippy check
if: ${{ matrix.toolchain == 'nightly' }}
run: |
cargo fmt -- --check
cargo clippy --locked -- -D warnings
- name: test
run: cargo t --locked --test '*'