agentleFS
docxologydocxology/template/.github/actions/setup-python-env/AGENTS.md

template / setup-python-env

AGENTS.md20 starsChanged 2 months agoApache-2.0View on GitHub

Composite action wrapping the shared CI Python setup. See README.md for usage and inputs. 1. astral-sh/setup-uv — SHA-pinned; enable-cache: true, prune-cache: true, cache-dependency-glob: "**/uv.lock". 2. actions/setup-python — SHA-pinned; python-version from the input (default "3.14"). It deliberately does not run actions/checkout (the caller does, first) and does not run uv sync (kept explicit per job so dependency groups stay visible). - Third-party uses: are pinned to a full commit SHA with a # vX.Y.Z comment, matching ../../workflows/ci.yml. - The SHAs here…

Files
AGENTS.md

setup-python-env — technical reference

Composite action wrapping the shared CI Python setup. See README.md for usage and inputs.

Steps (in order)

  1. astral-sh/setup-uv — SHA-pinned; enable-cache: true, prune-cache: true, cache-dependency-glob: "**/uv.lock".
  2. actions/setup-python — SHA-pinned; python-version from the input (default "3.14").

It deliberately does not run actions/checkout (the caller does, first) and does not run uv sync (kept explicit per job so dependency groups stay visible).

Invariants

  • Third-party uses: are pinned to a full commit SHA with a # vX.Y.Z comment, matching ../../workflows/ci.yml.
  • The SHAs here are the single source of truth for the setup block; bump them here, not per job.
  • Changing inputs or step order requires updating the "Shared setup" section of ../../workflows/AGENTS.md in the same change.

Verification

  • actionlint (CI actionlint job) validates this action and its callers.
  • Behavioural proof is the next CI run: GitHub Actions ordering (local action resolves only post-checkout) cannot be exercised by local actionlint.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.