Skip to content

Commit

Permalink
Retrigger checks #13
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisVieriu97 committed Jan 24, 2023
1 parent 35817eb commit 275fcc5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 275fcc5

Please sign in to comment.