diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7abda993903..fd3941c307c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -45,18 +45,16 @@ jobs: script: | set -euo pipefail - export PYTHON_VERSION=3.9 - - echo '::group::Setup environment' - CONDA_PATH=$(which conda) - eval "$(${CONDA_PATH} shell.bash hook)" - # clang-format needs some shared libraries that conflict with the system ones. Thus, we install them from conda - # and prepend the libraries to linker path to prioritize them. `ncurses=5` is only available on the conda-forge - # channel. Since we are not building or testing here, this is fine. - conda create --name ci --quiet --yes -c conda-forge python=3.9 ncurses=5 libgcc - conda activate ci - export LD_LIBRARY_PATH="${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}" - echo '::endgroup::' + # echo '::group::Setup environment' + # CONDA_PATH=$(which conda) + # eval "$(${CONDA_PATH} shell.bash hook)" + # # clang-format needs some shared libraries that conflict with the system ones. Thus, we install them from conda + # # and prepend the libraries to linker path to prioritize them. `ncurses=5` is only available on the conda-forge + # # channel. Since we are not building or testing here, this is fine. + # conda create --name ci --quiet --yes -c conda-forge python=3.9 ncurses=5 libgcc + # conda activate ci + # export LD_LIBRARY_PATH="${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}" + # echo '::endgroup::' echo '::group::Install lint tools' curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o ./clang-format