5
0
Fork 0
mirror of https://github.com/pre-commit/action.git synced 2025-11-10 20:16:57 +00:00
pre-commit-action/.github/workflows/main.yml
2025-02-15 12:44:09 +00:00

21 lines
531 B
YAML

on:
pull_request:
push:
branches: [main, test-me-*]
jobs:
main:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Install uv with Python ${{ matrix.python-version }}
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Python ${{ matrix.python-version }}
run: uv python install
- name: self test action
uses: ./