build(deps): Bump actions/cache from 4 to 5 #92
Workflow file for this run
This file contains hidden or 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: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| ci: | |
| runs-on: blacksmith-2vcpu-ubuntu-2404-arm | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: useblacksmith/checkout@v1 | |
| - uses: astral-sh/setup-uv@v7 | |
| - run: uv python install 3.12 | |
| - uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.cache/uv | |
| ~/.local/share/uv | |
| key: ${{ runner.os }}-uv-${{ hashFiles('uv.lock') }} | |
| restore-keys: ${{ runner.os }}-uv- | |
| - run: uv sync --frozen --all-extras | |
| - run: uv run ruff check . | |
| - run: uv run ruff format --check . | |
| - run: uv run ty check agentscore/ | |
| - run: uv run vulture . vulture_whitelist.py --min-confidence 80 --exclude .venv | |
| - run: uv run pytest tests/ --cov=agentscore --cov-report=term-missing |