Skip to content

Change zsh completion path to fit debian-based distributions #471

Change zsh completion path to fit debian-based distributions

Change zsh completion path to fit debian-based distributions #471

Workflow file for this run

name: CI
on:
push:
branches: main
pull_request:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
jobs:
rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v5
- name: Update Rust
run: rustup update stable
- name: Run rustfmt
run: cargo fmt --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v5
- name: Update Rust
run: rustup update stable
- name: Run clippy
run: cargo clippy -- --deny warnings
tests:
name: Build and test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
# Stable and MSRV
rust_version: [stable, 1.83]
steps:
- name: Checkout the repository
uses: actions/checkout@v5
- name: Update Rust
run: rustup update "${{ matrix.rust_version }}" && rustup default "${{ matrix.rust_version }}"
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose