Skip to content

Switch to pinned conda Rust dependency #3114

Switch to pinned conda Rust dependency

Switch to pinned conda Rust dependency #3114

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
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: |
rustup self uninstall -y
mamba install -c conda-forge rust=1.77
which python
pip list
mamba list
- uses: pre-commit/[email protected]