Skip to content

Switch to pinned conda Rust dependency #3115

Switch to pinned conda Rust dependency

Switch to pinned conda Rust dependency #3115

Workflow file for this run

---
name: Python style check
on: [pull_request]
# When this workflow is queued, automatically cancel any previous running
# or pending jobs from the same branch
concurrency:
group: style-${{ github.head_ref }}
cancel-in-progress: true
# Required shell entrypoint to have properly activated conda environments
defaults:
run:
shell: bash -l {0}
jobs:
pre-commit:
name: Run pre-commit hooks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: conda-incubator/[email protected]
with:
miniforge-variant: Mambaforge
use-mamba: true
python-version: "3.9"
channel-priority: strict
- name: Install dependencies
run: |
mamba install -c conda-forge rust=1.77
which python
pip list
mamba list
- uses: pre-commit/[email protected]