diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 566e769..f95b7f8 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -7,12 +7,16 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.8"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: pre-commit - uses: pre-commit/action@v3.0.0 + uses: pre-commit/action@v3.0.1 + - name: prettier + uses: creyD/prettier_action@v4.3 + with: + prettier_options: --write **/*.{css,js,json,md,ts} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 315e9f0..86eee4c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,23 +11,17 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.4 + rev: v0.8.4 hooks: - id: ruff - id: ruff-format - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.8 - hooks: - - id: prettier - types_or: [css, javascript, json, markdown, ts] - - repo: https://github.com/kynan/nbstripout rev: 0.8.1 hooks: - id: nbstripout - repo: https://github.com/crate-ci/typos - rev: v1.27.3 + rev: v1.28.4 hooks: - id: typos