We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 316698f commit 5454f2cCopy full SHA for 5454f2c
2 files changed
.github/workflows/publish-to-pypi.yml
@@ -9,12 +9,13 @@ jobs:
9
runs-on: ubuntu-latest
10
permissions:
11
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
12
+ contents: read
13
steps:
14
- uses: actions/checkout@v3
15
- name: Set up Python
16
uses: actions/setup-python@v4
17
with:
- python-version: '3.x'
18
+ python-version: '3.10'
19
- name: Install Hatch
20
run: |
21
python -m pip install --upgrade pip
@@ -24,4 +25,3 @@ jobs:
24
25
hatch build
26
- name: Publish package
27
uses: pypa/gh-action-pypi-publish@release/v1
- # No credentials needed for trusted publishing
.github/workflows/python-tests.yml
@@ -24,6 +24,6 @@ jobs:
pip install hatch
- - name: Run checks
+ - name: Run tests
28
29
- hatch run check-all
+ hatch run test
0 commit comments