Bump clap from 4.5.4 to 4.5.6 #701
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build_and_test: | |
name: Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: windows-latest | |
target: x86_64-pc-windows-msvc | |
- os: ubuntu-latest | |
target: x86_64-unknown-linux-musl | |
- os: macos-latest | |
target: x86_64-apple-darwin | |
- os: macos-latest | |
target: aarch64-apple-darwin | |
steps: | |
- name: install musl tools | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y musl musl-dev musl-tools | |
- uses: actions/checkout@v4 | |
name: checkout | |
with: | |
fetch-depth: 1 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
target: ${{ matrix.target }} | |
- run: cargo test --target ${{ matrix.target }} --verbose | |
if: ${{ matrix.target != 'aarch64-apple-darwin' }} | |
name: test stable | |
- uses: dtolnay/rust-toolchain@nightly | |
with: | |
target: ${{ matrix.target }} | |
components: clippy, rustfmt | |
- run: cargo clippy --target ${{ matrix.target }} -q | |
name: clippy | |
- run: cargo fmt -q | |
name: fmt | |
- name: test nightly | |
run: cargo test --target ${{ matrix.target }} --verbose | |
if: ${{ matrix.target != 'aarch64-apple-darwin' }} |