remove job name for CI #3675
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | ||
on: | ||
push: | ||
branches: ["*"] | ||
paths-ignore: | ||
- "docs/**" | ||
- "**.md" | ||
- "docs/vercel/**" | ||
pull_request: | ||
branches: [main] | ||
paths-ignore: | ||
- "docs/**" | ||
- "**.md" | ||
- "docs/vercel/**" | ||
env: | ||
CARGO_TERM_COLOR: always | ||
jobs: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macOS-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install Rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
- name: Build | ||
run: cargo build --features=fail-on-deprecated | ||
- name: Run tests | ||
run: cargo test | ||
- name: Run onefetch | ||
run: cargo run | ||
- name: Run onefetch (with commitgraph) | ||
run: git commit-graph write --no-progress --reachable && cargo run |