Skip to content

Bump clap from 4.5.23 to 4.5.26 #188

Bump clap from 4.5.23 to 4.5.26

Bump clap from 4.5.23 to 4.5.26 #188

Workflow file for this run

name: CI
on:
push:
branches:
- main
- 'dependabot/cargo/**'
paths-ignore:
- '.*ignore'
- '.editorconfig'
- '.envrc'
- '.justfile'
- '**.md'
- '**.png'
- 'flake.*'
- 'LICENSE'
workflow_dispatch:
env:
RUST_BACKTRACE: 1
jobs:
integration:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-22.04
- ubuntu-20.04
- macos-14
- macos-13
toolchain:
- stable
steps:
- name: Clean Up
if: ${{ matrix.os == 'macos-10.13' }}
run: |
cd "${{ github.workspace }}/.." && rm -rf *
mkdir -pv "${{ github.workspace }}" && cd "${{ github.workspace }}"
- name: Checkout
id: checkout
run: |
git clone --recurse-submodules ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} .
echo "{hw_isa}={$(uname -m)}" >> $GITHUB_OUTPUT
- name: Cache Cargo Artifacts
uses: actions/cache@v4
env:
CACHE_KEY_PREFIX: ${{ matrix.os }}-${{ steps.checkout.outputs.hw_isa }}-cargo
with:
path: |
~/.cargo/git
~/.cargo/registry
target
key: |
${{ env.CACHE_KEY_PREFIX }}-${{ hashFiles('**/Cargo.toml') }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ env.CACHE_KEY_PREFIX }}-${{ hashFiles('**/Cargo.toml') }}-
${{ env.CACHE_KEY_PREFIX }}-
- name: Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Unit Tests
run: cargo test --lib