Skip to content

Fix CI compatibility with Python 3.10 and resolve ResourceWarning in … #15

Fix CI compatibility with Python 3.10 and resolve ResourceWarning in …

Fix CI compatibility with Python 3.10 and resolve ResourceWarning in … #15

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test-and-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run Pre-commit Hooks
run: |
chmod +x pre-commit.sh
./pre-commit.sh
- name: Verify Clean State
run: git diff --exit-code