Skip to content

Commit

Permalink
perf: Move to uv from pip
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Dec 4, 2024
1 parent 5b37af1 commit 7d41bd9
Show file tree
Hide file tree
Showing 9 changed files with 2,112 additions and 3,942 deletions.
37 changes: 9 additions & 28 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,12 @@ jobs:
- name: Checkout
uses: actions/[email protected]

- name: Set up Python
uses: actions/setup-[email protected]
- name: Set up uv
uses: astral-sh/setup-[email protected]
with:
cache: pip
python-version: "3.13"
enable-cache: true
python-version: ${{ matrix.python-version }}
version: "0.5.x"

- name: Login to Azure
uses: Azure/[email protected]
Expand Down Expand Up @@ -115,15 +116,12 @@ jobs:
- name: Checkout
uses: actions/[email protected]

- name: Set up Python
uses: actions/setup-[email protected]
- name: Set up uv
uses: astral-sh/setup-[email protected]
with:
cache: pip
enable-cache: true
python-version: "3.13"

- name: Set up build dependencies
run: |
python3 -m pip install --upgrade pip build
version: "0.5.x"

- name: Write version
run: |
Expand Down Expand Up @@ -162,21 +160,6 @@ jobs:
with:
subject-path: dist/*

attest-dependencies:
name: Attest dependencies
permissions:
contents: write
id-token: write
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/[email protected]

- name: Run attestation
uses: advanced-security/[email protected]
with:
directoryExclusionList: docs

attest-sbom:
name: Attest SBOM
permissions:
Expand Down Expand Up @@ -226,7 +209,6 @@ jobs:
runs-on: ubuntu-24.04
needs:
- attest-binaries
- attest-dependencies
- attest-sbom
- test
if: (github.ref == 'refs/heads/main') || (github.ref == 'refs/heads/develop')
Expand Down Expand Up @@ -274,7 +256,6 @@ jobs:
runs-on: ubuntu-24.04
needs:
- attest-binaries
- attest-dependencies
- attest-sbom
- init
- test
Expand Down
Loading

0 comments on commit 7d41bd9

Please sign in to comment.