Skip to content

Ignore hidden files and directories by default (#33) #119

Ignore hidden files and directories by default (#33)

Ignore hidden files and directories by default (#33) #119

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
paths-ignore:
- "README.md"
- "LICENSE-*"
- ".gitignore"
pull_request:
branches: ["main"]
paths-ignore:
- "README.md"
- "LICENSE-*"
- ".gitignore"
env:
CARGO_TERM_COLOR: always
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo install cargo-llvm-cov cargo-mutants
- run: cargo llvm-cov --all-features
- run: cargo mutants
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: "clippy, rustfmt"
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check
- run: cargo clippy --all-targets --all-features -- -D clippy::pedantic -D warnings
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo test --all-features