Skip to content

Commit 0383e41

Browse files
committed
Do a full checkout.
1 parent 820a6a0 commit 0383e41

1 file changed

Lines changed: 24 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,13 @@ jobs:
4343
attestations: write
4444
contents: read
4545
steps:
46-
- uses: actions/checkout@v4
46+
- name: Checkout
47+
uses: actions/checkout@v6.0.2
48+
with:
49+
fetch-depth: 0
4750

48-
- uses: actions/setup-python@v5
51+
- name: Set up Python
52+
uses: actions/setup-python@v6.2.0
4953
with:
5054
python-version: "3.x"
5155

@@ -54,13 +58,14 @@ jobs:
5458
with:
5559
output-dir: dist
5660

57-
- name: Generate build-provenance attestation for wheels
61+
- name: Generate build provenance attestation for wheels
5862
if: inputs.attest-package == 'true'
5963
uses: actions/attest-build-provenance@v4
6064
with:
6165
subject-path: "dist/*.whl"
6266

63-
- uses: actions/upload-artifact@v4
67+
- name: Upload artefacts
68+
uses: actions/upload-artifact@v4
6469
with:
6570
name: dist-wheels
6671
path: ./dist/*.whl
@@ -75,9 +80,13 @@ jobs:
7580
attestations: write
7681
contents: read
7782
steps:
78-
- uses: actions/checkout@v4
83+
- name: Checkout
84+
uses: actions/checkout@v6.0.2
85+
with:
86+
fetch-depth: 0
7987

80-
- uses: actions/setup-python@v5
88+
- name: Set up Python
89+
uses: actions/setup-python@v6.2.0
8190
with:
8291
python-version: "3.x"
8392

@@ -86,13 +95,14 @@ jobs:
8695
python -m pip install --upgrade build
8796
python -m build --sdist
8897
89-
- name: Generate build-provenance attestation for sdist
98+
- name: Generate build provenance attestation for sdist
9099
if: inputs.attest-package == 'true'
91100
uses: actions/attest-build-provenance@v4
92101
with:
93102
subject-path: "dist/*.tar.gz"
94103

95-
- uses: actions/upload-artifact@v4
104+
- name: Upload artefacts
105+
uses: actions/upload-artifact@v4
96106
with:
97107
name: dist-sdist
98108
path: ./dist/*.tar.gz
@@ -107,9 +117,13 @@ jobs:
107117
matrix:
108118
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"]
109119
steps:
110-
- uses: actions/checkout@v4
120+
- name: Checkout
121+
uses: actions/checkout@v6.0.2
122+
with:
123+
fetch-depth: 0
111124

112-
- uses: actions/setup-python@v5
125+
- name: Set up Python
126+
uses: actions/setup-python@v6.2.0
113127
with:
114128
python-version: ${{ matrix.python-version }}
115129
allow-prereleases: true

0 commit comments

Comments
 (0)