Skip to content

Commit 7d2acaa

Browse files
authored
fix lint c workflow (#7409)
1 parent ed9207d commit 7d2acaa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ jobs:
4949
CONDA_PATH=$(which conda)
5050
eval "$(${CONDA_PATH} shell.bash hook)"
5151
# clang-format needs some shared libraries that conflict with the system ones. Thus, we install them from conda
52-
# and prepend the libraries to linker path to prioritize them
53-
conda create --name ci --quiet --yes python=3.8 ncurses=5 libgcc
52+
# and prepend the libraries to linker path to prioritize them. `ncurses=5` is only available on the conda-forge
53+
# channel. Since we are not building or testing here, this is fine.
54+
conda create --name ci --quiet --yes -c conda-forge python=3.8 ncurses=5 libgcc
5455
conda activate ci
5556
export LD_LIBRARY_PATH="${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}"
5657
echo '::endgroup::'

0 commit comments

Comments
 (0)