Skip to content

Commit 507dbae

Browse files
committed
ci: remove build-cache job as lockfile hash handles invalidation
Now that cache keys include lockfile hashes, proper invalidation happens automatically. Each job can build and save its own cache, making the dedicated build-cache job unnecessary.
1 parent 8fd39fa commit 507dbae

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,7 @@ permissions:
1616
id-token: write
1717

1818
jobs:
19-
build-cache:
20-
runs-on: ubuntu-latest
21-
strategy:
22-
matrix:
23-
python-version: ["python311", "python313"]
24-
steps:
25-
- name: Checkout repository
26-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
27-
28-
- name: Setup Nix
29-
uses: ./.github/actions/setup-nix
30-
with:
31-
python-version: ${{ matrix.python-version }}
32-
33-
- name: Build Nix environment
34-
run: nix develop .#${{ matrix.python-version }} --command true
35-
3619
gitleaks:
37-
needs: build-cache
3820
runs-on: ubuntu-latest
3921
steps:
4022
- name: Checkout repository
@@ -49,7 +31,6 @@ jobs:
4931
run: nix develop --command just gitleaks
5032

5133
ci:
52-
needs: build-cache
5334
runs-on: ubuntu-latest
5435
strategy:
5536
matrix:
@@ -75,7 +56,6 @@ jobs:
7556
run: nix develop .#${{ matrix.python-version }} --command just test
7657

7758
coverage:
78-
needs: build-cache
7959
runs-on: ubuntu-latest
8060
if: github.ref == 'refs/heads/main'
8161
steps:

0 commit comments

Comments
 (0)