From 08de49ef7c576124b3a2ff1e671eee8b512ab1a7 Mon Sep 17 00:00:00 2001 From: Cuyler36 Date: Thu, 14 Aug 2025 10:43:59 -0400 Subject: [PATCH] Change to uv for python package management --- .github/workflows/build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f44ab7b1..0f37f1ff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,10 @@ jobs: version: [GAFE01_00, GAFU01_00] steps: + # Install uv + - name: Install uv + uses: astral-sh/setup-uv@v6 + # Checkout the repository - name: Checkout uses: actions/checkout@v4 @@ -24,9 +28,7 @@ jobs: # Normalize file mod times - name: Restore git file mtimes run: | - apt-get update && apt-get install -y python3-pip - pip install --user git-restore-mtime - ~/.local/bin/git-restore-mtime + uvx git-restore-mtime # Set Git config - name: Git config @@ -41,7 +43,7 @@ jobs: uses: actions/cache@v4 with: path: build/${{ matrix.version }} - key: ${{ runner.os }}-${{ matrix.version }}-${{ hashFiles('configure.py', 'build_scripts/**') }} + key: ${{ runner.os }}-${{ matrix.version }}-${{ hashFiles('configure.py', '.ninja_deps', 'build_scripts/**') }} restore-keys: | ${{ runner.os }}-${{ matrix.version }}-