Skip to content

build(deps): bump clap from 4.5.60 to 4.6.1 (#9) #21

build(deps): bump clap from 4.5.60 to 4.6.1 (#9)

build(deps): bump clap from 4.5.60 to 4.6.1 (#9) #21

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
test:
name: test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: macos-latest
target: aarch64-apple-darwin
steps:
- name: checkout
uses: actions/checkout@v4
- name: install rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
targets: ${{ matrix.target }}
- name: cache cargo
uses: Swatinem/rust-cache@v2
- name: check formatting
run: cargo fmt --check
- name: lint
run: cargo clippy --target ${{ matrix.target }} --all-targets -- -D warnings
- name: test
run: cargo test --target ${{ matrix.target }}