Skip to content

Commit 709dc77

Browse files
committed
Update dependencies
1 parent b94d156 commit 709dc77

3 files changed

Lines changed: 215 additions & 206 deletions

File tree

.github/workflows/publish.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,23 @@ jobs:
3939
- name: Install the project
4040
run: uv sync --no-group docs --no-group dev
4141

42+
- name: Test code
43+
id: test
44+
run: uv run pytest
45+
4246
- name: Package project
47+
id: build
4348
run: uv build -o dist/
4449

4550
- name: Sign build artifacts
51+
id: sign
52+
if: ${{ (github.event.inputs.upload || github.ref_type == 'tag') }}
4653
uses: actions/attest-build-provenance@v2
4754
with:
4855
subject-path: "dist/*"
4956

5057
- name: Upload build artifacts
58+
id: upload
5159
uses: actions/upload-artifact@v4
5260
with:
5361
name: release-dists
@@ -62,20 +70,21 @@ jobs:
6270
if: ${{ (github.event.inputs.upload || github.ref_type == 'tag') }}
6371

6472
permissions:
65-
contents: read
6673
id-token: write
6774

6875
environment:
6976
name: pypi
7077

7178
steps:
7279
- name: Retrieve release distributions
80+
id: download
7381
uses: actions/download-artifact@v4
7482
with:
7583
name: release-dists
7684
path: dist/
7785

7886
- name: Publish package distributions to PyPI
87+
id: publish
7988
uses: pypa/gh-action-pypi-publish@release/v1
8089
with:
8190
attestations: true

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "ctftime_api"
3-
version = "0.1.4"
3+
version = "0.1.5"
44
description = "CTFTime API wrapper"
55
authors = [{ name = "John Toniutti", email = "john.toniutti@gmail.com" }]
66
requires-python = ">=3.11"

0 commit comments

Comments
 (0)