File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 1515 schedule :
1616 - cron : ' 41 13 * * 0'
1717
18+ concurrency :
19+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
20+ cancel-in-progress : true
21+
1822jobs :
1923 analyze :
2024 name : Analyze
Original file line number Diff line number Diff line change @@ -49,10 +49,15 @@ jobs:
4949 with :
5050 toolchain : stable
5151 components : rustfmt
52+ - name : Update PATH
53+ run : |
54+ echo "$HOME/.local/bin" >> "$GITHUB_PATH"
55+
5256 - name : Install dependencies
5357 run : |
54- python -m pip install -r requirements-dev.txt
55- python -m pip install lintrunner lintrunner-adapters
58+ set -e -x
59+ python -m pip install --user -r requirements-dev.txt
60+ python -m pip install --user lintrunner lintrunner-adapters
5661 lintrunner init
5762 - name : Run lintrunner on all files
5863 run : |
8186 runs-on : ubuntu-latest
8287 steps :
8388 - uses : actions/checkout@master
89+ - name : Update PATH
90+ run : |
91+ echo "$HOME/.local/bin" >> "$GITHUB_PATH"
92+
8493 - name : Install ninja
85- run : python -m pip install --upgrade ninja
94+ run : python -m pip install --user -- upgrade ninja
8695 - name : Generate compile_commands.json
8796 run : |
8897 python tools/ci_build/build.py \
You can’t perform that action at this time.
0 commit comments