main/uv: update to 0.4.14 #12141
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint tree and check format | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'main/**' | |
- 'user/**' | |
- 'src/**' | |
pull_request: | |
branches: | |
- master | |
paths: | |
- 'main/**' | |
- 'user/**' | |
- 'src/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
PYTHONUNBUFFERED: 1 | |
jobs: | |
lint: | |
name: Lint tree and check format | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: classabbyamp/treeless-checkout-action@v1 | |
- name: Disable apparmor | |
run: | | |
sudo sysctl kernel.apparmor_restrict_unprivileged_unconfined=0 | |
sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0 | |
- name: Install python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install ruff | |
run: python -m pip install ruff --break-system-packages | |
- name: Install apt dependencies | |
run: | | |
sudo rm -f /var/lib/man-db/auto-update | |
sudo apt-get update | |
sudo apt-get install --no-install-recommends ca-certificates openssl git bubblewrap wget | |
- name: Set up cbuild configuration | |
run: sh .ci/setup-cbuild.sh | |
- name: Run checks and lints | |
run: sh .ci/lint.sh |