Skip to content

Commit

Permalink
lint: Fix bazel initialization race and remove unused steps in CI (#2802
Browse files Browse the repository at this point in the history
)
  • Loading branch information
npaun authored and jclee committed Oct 11, 2024
1 parent bf112b9 commit 63000fa
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Setup Linux
run: |
export DEBIAN_FRONTEND=noninteractive
wget https://apt.llvm.org/llvm.sh
sed -i '/apt-get install/d' llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18
sudo apt-get install -y --no-install-recommends clang-format-18
- name: Install Ruff
run: |
pip install ruff
- name: Lint
run: |
bazel info output_base # Ensure bazel is initialized before procedding
python3 ./tools/cross/format.py --check
env:
CLANG_FORMAT: clang-format-18

0 comments on commit 63000fa

Please sign in to comment.