Skip to content

Commit 6a1d73c

Browse files
NicolasHugfacebook-github-bot
authored andcommitted
[fbsync] fix lint c workflow (#7409)
Reviewed By: vmoens Differential Revision: D44416593 fbshipit-source-id: 359c42d84f22014400e657e23e4ba9b0d37e0028
1 parent 4eeb85d commit 6a1d73c

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)