Skip to content

Commit

Permalink
Merge pull request #26 from aaravind100/ajith/upd-ci
Browse files Browse the repository at this point in the history
ci: 👷 update ci checks
  • Loading branch information
aaravind100 authored Dec 27, 2024
2 parents c8a72cd + 2a11142 commit c0d20b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
10 changes: 2 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c0d20b3

Please sign in to comment.