Fix CI workflow: remove container directive for node compatibility
CI - Lint & Test / lint-and-test (push) Failing after 8s Details

- actions/checkout@v4 requires node, which is missing in python:3.10-slim
- Use default ubuntu-22.04 image and install python3 via apt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Cloud User 2026-02-25 15:45:59 +09:00
parent d782c2741d
commit d74af730e2
1 changed files with 4 additions and 5 deletions

View File

@ -9,16 +9,15 @@ on:
jobs: jobs:
lint-and-test: lint-and-test:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
container:
image: python:3.10-slim
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install dependencies - name: Install Python & dependencies
run: | run: |
pip install -r requirements.txt apt-get update && apt-get install -y python3 python3-pip
pip install ruff pytest pip3 install -r requirements.txt
pip3 install ruff pytest
- name: Lint - name: Lint
run: ruff check . run: ruff check .