Skip to content

Commit

Permalink
Use micromamba for pre-commit in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
janjagusch committed Sep 28, 2023
1 parent f882f40 commit 717918b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -55,10 +55,18 @@ jobs:
name: Run pre-commit
timeout-minutes: 15
runs-on: ubuntu-latest
env:
PRE_COMMIT_USE_MICROMAMBA: 1
steps:
- name: Checkout branch
uses: actions/[email protected]
- name: Install Python 3.11
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
- name: Set up micromamba
uses: mamba-org/setup-micromamba@2b72821d5ad7f6da3c003a3684ce341bf187b46f
- name: Add micromamba to GITHUB_PATH
run: echo "${HOME}/micromamba-bin" >> "$GITHUB_PATH"
- name: Install Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.11

0 comments on commit 717918b

Please sign in to comment.