fix: update CI workflow to use explicit GitHub action URLs for Gitea compatibility
Some checks failed
CI / build (push) Has been cancelled
CI / test (push) Has been cancelled

This commit is contained in:
2026-03-22 16:52:33 +00:00
parent 24b94c12bc
commit 591cca959b

View File

@@ -10,39 +10,58 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: https://github.com/actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
uses: https://github.com/actions/setup-python@v5
with:
python-version: '3.11'
- name: Cache pip packages
uses: https://github.com/actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install -e ".[dev]"
- name: Run linting
run: ruff check src/
run: |
ruff check src/
- name: Run type checking
run: |
mypy src/
- name: Run tests
run: pytest tests/ -v
run: |
pytest tests/ -v
build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: https://github.com/actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
uses: https://github.com/actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: pip install -e .
run: |
pip install -e .
- name: Verify import
run: python -c "import memory_manager; print(memory_manager.__version__)"
run: |
python -c "import memory_manager; print(memory_manager.__version__)"
- name: Verify CLI
run: memory --version
run: |
memory --version