Skip to content

Commit

Permalink
Use mamba for pre-commit environments. (#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtilly committed Mar 28, 2023
1 parent 0827b04 commit 4c1e19d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ source ${SCRIPT_DIR}/base.sh $*
git config --global --add safe.directory /github/workspace

mamba install -y pre-commit

export PRE_COMMIT_USE_MAMBA=1

pre-commit install
pre-commit run -a

0 comments on commit 4c1e19d

Please sign in to comment.