Skip to content

Bump tokio from 1.51.0 to 1.51.1 in the rust-deps group #105

Bump tokio from 1.51.0 to 1.51.1 in the rust-deps group

Bump tokio from 1.51.0 to 1.51.1 in the rust-deps group #105

Workflow file for this run

name: CI
on:
push:
branches: [main]
paths-ignore:
- "**.md"
- ".gitignore"
- ".claude/**"
- ".serena/**"
pull_request:
paths-ignore:
- "**.md"
- ".gitignore"
- ".claude/**"
- ".serena/**"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
FASTEMBED_CACHE_DIR: ${{ github.workspace }}/.fastembed_cache
jobs:
checks:
name: Checks
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
with:
use-flakehub: false
- name: Nix flake checks
run: nix flake check
coverage:
name: Coverage
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
with:
use-flakehub: false
- uses: Swatinem/rust-cache@v2
- name: Cache fastembed models
uses: actions/cache@v5
with:
path: .fastembed_cache
key: fastembed-models-${{ runner.os }}
- name: Generate coverage
run: nix develop --command cargo llvm-cov nextest --workspace --profile ci --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: false
build:
name: Nix build (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
with:
use-flakehub: false
- name: Nix build
run: nix build
- name: Smoke test
run: ./result/bin/ferrex --help
gitleaks:
name: Gitleaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}