Skip to content

Bump clap from 4.5.16 to 4.5.17 #824

Bump clap from 4.5.16 to 4.5.17

Bump clap from 4.5.16 to 4.5.17 #824

Workflow file for this run

on:
workflow_dispatch:
pull_request:
push:
paths-ignore:
- .github
- config.toml
- Dockerfile
- justfile
- README.md
name: Test and Build
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
rust-toolchain: [stable]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: extractions/setup-just@v1
- name: Checkout code
uses: actions/checkout@v3
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust-toolchain }}
profile: minimal
components: rustfmt,clippy
override: true
- uses: rui314/setup-mold@v1
- name: Cache build artifacts
uses: Swatinem/rust-cache@v2
- name: Install cargo-nextest
uses: baptiste0928/cargo-install@v1
with:
crate: cargo-nextest
- name: Build code
run: just build
- name: Lint code
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features -- -W clippy::all
- name: Test code
run: cargo nextest run --all-targets --test-threads=1