diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec6aa99..d6989b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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/checkout@v3.3.0 - - name: Install Python 3.11 + uses: actions/checkout@v4.1.0 + 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 uses: actions/setup-python@v4 with: python-version: 3.11 diff --git a/environment.yml b/environment.yml index f38f529..689cfca 100644 --- a/environment.yml +++ b/environment.yml @@ -22,5 +22,6 @@ dependencies: - fire - requests - dacite + - pydantic<2 - pip: - git+https://github.com/jupyter-server/jupyter_releaser.git@v2