Use Claude Code, Codex, VSCode, Pi, and OpenCode (and 6 other harnesses) for free (1.3B+ free tokens) from your terminal, app, IDE, or phone, and now from the browser with native browser sessions (multi-harness + multi-model) like OpenClaw (voice supported + ToS friendly)
Python
Enhance GitHub Actions workflow by adding concurrency and separating jobs for checks and formatting. Updated actions/checkout and setup-uv versions, adjusted permissions, and set timeouts for improved CI performance.
Alishahryar1609393915172
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex dc0ac735..1b7ab9a1 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -6,18 +6,23 @@ on:pull_request:branches: [main, master]+concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: true+jobs:- ci:+ checks:runs-on: ubuntu-latest+ timeout-minutes: 15permissions:- contents: write+ contents: readsteps:- - uses: actions/checkout@v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83ddwith:ref: ${{ github.event.pull_request.head.sha || github.ref }}repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}fetch-depth: 1-+- name: "Fail on type: ignore (no suppressions allowed)"run: |if grep -rE '# type: ignore|# ty: ignore' --include='*.py' . --exclude-dir=.venv --exclude-dir=.git; then@@ -27,18 +32,38 @@ jobs:exit 0- name: Install uv- uses: astral-sh/setup-uv@v7+ uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3bwith:- version: "latest"+ version: "0.10.2"enable-cache: truecache-python: true- name: Type checkrun: uv run ty check-+- name: Run testsrun: uv run pytest -v --tb=short+ format:+ runs-on: ubuntu-latest+ timeout-minutes: 15+ needs: [checks]+ permissions:+ contents: write+ steps:+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd+ with:+ ref: ${{ github.event.pull_request.head.sha || github.ref }}+ repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}+ fetch-depth: 1++ - name: Install uv+ uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b+ with:+ version: "0.10.2"+ enable-cache: true+ cache-python: true+- name: Commit and push changesrun: |uv run ruff format