Skip to content

Commit 6e0c5fb

Browse files
committed
[GitHub][CI] Remove caching and default bash shell
1 parent 70c0fa1 commit 6e0c5fb

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/pr-code-lint.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,27 +62,22 @@ jobs:
6262
uses: aminya/setup-cpp@17c11551771948abc5752bbf3183482567c7caf0 # v1.1.1
6363
with:
6464
clang-tidy: 20.1.8
65-
66-
- name: Clear Python cache
67-
run: sudo rm -rf /__t/Python
6865

6966
- name: Setup Python env
7067
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
7168
with:
7269
python-version: '3.12'
73-
cache: 'pip'
74-
cache-dependency-path: 'code-lint-tools/llvm/utils/git/requirements_linting.txt'
7570

7671
- name: Install Python dependencies
77-
run: pip install -r code-lint-tools/llvm/utils/git/requirements_linting.txt
72+
run: python3 -m pip install -r code-lint-tools/llvm/utils/git/requirements_linting.txt
7873

7974
# TODO: create special mapping for 'codegen' targets, for now build predefined set
8075
# TODO: add entrypoint in 'compute_projects.py' that only adds a project and its direct dependencies
8176
- name: Configure and CodeGen
8277
run: |
8378
git config --global --add safe.directory '*'
8479
85-
source <(git diff --name-only HEAD~1...HEAD | python3 .ci/compute_projects.py)
80+
. <(git diff --name-only HEAD~1...HEAD | python3 .ci/compute_projects.py)
8681
8782
if [[ "${projects_to_build}" == "" ]]; then
8883
echo "No projects to analyze"

0 commit comments

Comments
 (0)