Replace setup-uv action with pinned SHA in all workflows #44
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Copilot Setup Steps" | |
| # This workflow configures the environment for GitHub Copilot coding agent | |
| # See: https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: [".github/workflows/copilot-setup-steps.yml"] | |
| pull_request: | |
| paths: [".github/workflows/copilot-setup-steps.yml"] | |
| jobs: | |
| copilot-setup-steps: # The job MUST be called this | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read # Needed for checkout | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 | |
| with: | |
| enable-cache: true | |
| - name: Setup Python | |
| run: uv python install | |
| - name: Install bcbench package with all dependencies | |
| run: uv sync --all-groups | |
| - name: Install pre-commit hooks | |
| run: uv run pre-commit install | |
| - name: Verify installation | |
| run: uv run bcbench --help |