From 6a4a63e119ebe10ccd895f7c4fd6af65c2e4bb23 Mon Sep 17 00:00:00 2001 From: zethson Date: Mon, 16 Sep 2024 12:18:14 +0200 Subject: [PATCH 1/3] :sparkles: Use uv Signed-off-by: zethson --- .github/workflows/build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 82d3b0a8..13c11d63 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,9 +33,10 @@ jobs: path: ~/.cache/pre-commit key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }} - run: | - pip install "laminci[run-notebooks]@git+https://@github.com/laminlabs/laminci" - pip install "lndocs@git+https://x-access-token:${{ secrets.LAMIN_BUILD_DOCS }}@github.com/laminlabs/lndocs" - pip install -U dirsync pytest requests + pip install uv + uv pip install --system "laminci[run-notebooks]@git+https://@github.com/laminlabs/laminci" + uv pip install --system "lndocs@git+https://x-access-token:${{ secrets.LAMIN_BUILD_DOCS }}@github.com/laminlabs/lndocs" + uv pip install --system -U dirsync pytest requests sudo apt-get -y install graphviz - uses: aws-actions/configure-aws-credentials@v4 with: From 18c5340d4cede119561e476a078e32a1bc234afa Mon Sep 17 00:00:00 2001 From: zethson Date: Wed, 2 Oct 2024 11:29:46 +0200 Subject: [PATCH 2/3] :art: Pip install laminci Signed-off-by: zethson --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 13c11d63..5f65e5bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,8 +33,7 @@ jobs: path: ~/.cache/pre-commit key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }} - run: | - pip install uv - uv pip install --system "laminci[run-notebooks]@git+https://@github.com/laminlabs/laminci" + pip install laminci uv pip install --system "lndocs@git+https://x-access-token:${{ secrets.LAMIN_BUILD_DOCS }}@github.com/laminlabs/lndocs" uv pip install --system -U dirsync pytest requests sudo apt-get -y install graphviz From 2e59d9cc813afc1259d406afa4b88d668649227f Mon Sep 17 00:00:00 2001 From: zethson Date: Wed, 2 Oct 2024 11:31:40 +0200 Subject: [PATCH 3/3] :art: Remove cache Signed-off-by: zethson --- .github/workflows/build.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5f65e5bb..1111770e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,8 +25,6 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - cache: "pip" - cache-dependency-path: ".github/workflows/build.yml" - name: cache pre-commit uses: actions/cache@v3 with: