Skip to content

Commit

Permalink
Try using proper shell activation endpoint instead
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbluca committed May 17, 2024
1 parent be9577d commit 2b081cf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ 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
Expand All @@ -23,8 +28,6 @@ jobs:
channel-priority: strict
- name: Install dependencies
run: |
rustup self uninstall -y
mamba install -c conda-forge rust=1.77
which python
Expand Down

0 comments on commit 2b081cf

Please sign in to comment.