diff --git a/.github/workflows/clang-tidy-review.yml b/.github/workflows/clang-tidy-review.yml index f51a0600478..354c8e3225c 100644 --- a/.github/workflows/clang-tidy-review.yml +++ b/.github/workflows/clang-tidy-review.yml @@ -46,15 +46,10 @@ jobs: mv ./micromamba-linux-64 ./micromamba && chmod a+x ./micromamba && export PATH="$PWD:$PATH" && - apt-get remove -y gcc-13 && - apt-get remove -y gfortran && - apt-get autoremove -y && eval "$(micromamba shell hook -s posix)" && micromamba create -n clang-tidy-review -y --log-level warning -f $GITHUB_WORKSPACE/conda_env.yml && - head -n 10 /github/home/micromamba/envs/clang-tidy-review/etc/conda/activate.d/activate-binutils_linux-64.sh && - micromamba activate clang-tidy-review && bash set_conda_env_vars.sh && - cmake . -B build -DINSTALL_PYTHON=FALSE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON + micromamba run -n clang-tidy-review cmake . -B build -DINSTALL_PYTHON=FALSE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON - name: Upload artifacts uses: ZedThree/clang-tidy-review/upload@v0.20.1