Skip to content

Enhance CLI Command Helper to Identify and Respect Linux Distro Package Managers #34

Enhance CLI Command Helper to Identify and Respect Linux Distro Package Managers

Enhance CLI Command Helper to Identify and Respect Linux Distro Package Managers #34

Workflow file for this run

on: [push, pull_request]
name: CI
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Cache build
uses: Swatinem/rust-cache@v2
with:
key: cache
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets