From 275fcc53a71f317d2cf644af9ce3dc3f7470c690 Mon Sep 17 00:00:00 2001 From: Denis Vieriu Date: Mon, 23 Jan 2023 20:46:44 -0800 Subject: [PATCH] Retrigger checks #13 --- .github/workflows/lint.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e95eabe535834..bb9ce72f9b80b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -27,13 +27,19 @@ jobs: pip-requirements-file: .github/requirements/pip-requirements-${{ runner.os }}.txt - name: Install requirements + env: + ENV_NAME: conda-test-env-${{ github.run_id }} run: | ${CONDA_RUN} pip install -r .github/requirements-gha-cache.txt --user - name: Initialize lint dependencies + env: + ENV_NAME: conda-test-env-${{ github.run_id }} run: ${CONDA_RUN} lintrunner init - name: Do build steps necessary for linters + env: + ENV_NAME: conda-test-env-${{ github.run_id }} run: | ${CONDA_RUN} python3 -m tools.linter.clang_tidy.generate_build_files ${CONDA_RUN} python3 -m tools.generate_torch_version --is_debug=false @@ -43,6 +49,8 @@ jobs: --deprecated-functions-path "tools/autograd/deprecated.yaml" - name: Run lintrunner on all files (nonretryable) + env: + ENV_NAME: conda-test-env-${{ github.run_id }} run: | set +e if ! ${CONDA_RUN} lintrunner --force-color --all-files --tee-json=lint.json; then