aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/lint.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r--.github/workflows/lint.yml9
1 files changed, 3 insertions, 6 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 33b128de9d4..59a5d8fe615 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -33,9 +33,8 @@ jobs:
uses: mozilla-actions/sccache-action@v0.0.6
- name: Set LIBCLANG_PATH env # needed for bindgen in mozangle
run: echo "LIBCLANG_PATH=/usr/lib/llvm-14/lib" >> $GITHUB_ENV
- - uses: actions/setup-python@v5
- with:
- python-version: '3.10'
+ - name: Setup Python
+ uses: ./.github/actions/setup-python
- name: Install taplo
uses: baptiste0928/cargo-install@v3
with:
@@ -46,8 +45,6 @@ jobs:
with:
crate: cargo-deny
locked: true
- - name: Bootstrap Python
- run: python3 -m pip install --upgrade pip
- name: Bootstrap dependencies
run: |
sudo apt update
@@ -57,4 +54,4 @@ jobs:
run: |
python3 ./mach clippy --use-crown --locked -- -- --deny warnings
- name: Tidy
- run: python3 ./mach test-tidy --no-progress --all \ No newline at end of file
+ run: python3 ./mach test-tidy --no-progress --all