Skip to content

Commit

Permalink
Switch to quantco/pre-commit-conda (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw authored Dec 1, 2023
1 parent 545cc36 commit b931ade
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,13 @@ jobs:
pre-commit-checks:
# TODO: switch to pixi once there is a good way
name: pre-commit
timeout-minutes: 30
timeout-minutes: 15
runs-on: ubuntu-latest
env:
PRE_COMMIT_USE_MICROMAMBA: 1
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Set up micromamba
uses: mamba-org/setup-micromamba@db1df3ba9e07ea86f759e98b575c002747e9e757
- name: Install Python 3.12
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Run pre-commit checks
uses: pre-commit/action@v3.0.0
- name: Run pre-commit
uses: quantco/pre-commit-conda@v1

lint-workflow-files:
name: Lint workflow files
Expand Down

0 comments on commit b931ade

Please sign in to comment.