Skip to content

⬆️ Bump clap_complete from 4.6.8 to 4.6.9 #1067

⬆️ Bump clap_complete from 4.6.8 to 4.6.9

⬆️ Bump clap_complete from 4.6.8 to 4.6.9 #1067

Workflow file for this run

name: test
on:
pull_request:
push:
jobs:
rust_doc_test:
strategy:
matrix:
os:
- ubuntu-latest
- ubuntu-24.04-arm
- windows-latest
- windows-11-arm
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: git autocrlf false
if: startsWith(matrix.os, 'windows')
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v7
- uses: ./.github/actions/cache-cargo
with:
key: ${{ runner.os }}-${{ runner.arch }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: ./.github/actions/setup-rust
- name: Cache build
id: cache-build
uses: actions/cache@v6
with:
path: |
target
key: ${{ runner.os }}-${{ runner.arch }}-rust-${{ hashFiles('**/Cargo.toml') }}
- name: run test
run: cargo test --locked --release
env:
RUST_BACKTRACE: 1
# Verify the committed README table matches the SSOT, that generated docs/*
# are idempotent, and that each row's slice command matches its
# coreutils/sed/awk/dd recipe.
# Skipped on Windows: no coreutils, and the release binary is slice.exe,
# which the default --slice path (target/release/slice) does not resolve.
- name: run cheatsheet parity check
if: ${{ !startsWith(matrix.os, 'windows') }}
run: |
cargo build --locked --release
cargo xtask check --slice ./target/release/slice
env:
RUST_BACKTRACE: 1
msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Resolve MSRV from Cargo.toml
id: msrv
run: |
version=$(grep -m1 '^rust-version' Cargo.toml | sed -E 's/.*"(.+)".*/\1/')
echo "version=$version" >> "$GITHUB_OUTPUT"
- uses: ./.github/actions/cache-cargo
with:
key: ${{ runner.os }}-${{ runner.arch }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: ./.github/actions/setup-rust
with:
channel: ${{ steps.msrv.outputs.version }}
- name: run test
run: cargo test --locked
env:
RUST_BACKTRACE: 1