Skip to content

Keep the CLI tests independent of the CI variable #31

Keep the CLI tests independent of the CI variable

Keep the CLI tests independent of the CI variable #31

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install Rust
run: rustup toolchain install stable --profile minimal --component rustfmt,clippy
- run: cargo +stable fmt --check
- run: cargo +stable clippy --locked --all-targets -- -D warnings
- run: cargo +stable test --locked
- run: cargo +stable package --locked
msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- run: rustup toolchain install 1.90.0 --profile minimal
- run: cargo +1.90.0 check --locked