Tighten permissions

This commit is contained in:
Hynek Schlawack 2022-09-29 11:00:18 +02:00
parent a7eab33943
commit 4b4da14880
No known key found for this signature in database
GPG Key ID: AE2536227F69F181
1 changed files with 5 additions and 2 deletions

View File

@ -16,6 +16,9 @@ env:
PIP_NO_PYTHON_VERSION_WARNING: "1"
PYTHON_LATEST: "3.10"
permissions:
contents: read
jobs:
tests:
name: tox on ${{ matrix.python-version }}
@ -125,7 +128,7 @@ jobs:
python-version: "3.10"
- run: python -m pip install --upgrade wheel tox
- run: tox -e docs
- run: python -m tox -e docs
pyright:
name: Check types using pyright
@ -148,7 +151,7 @@ jobs:
python-version: ${{env.PYTHON_LATEST}}
- run: python -m pip install --upgrade wheel tox
- run: tox -e pyright
- run: python -m tox -e pyright
package:
name: Build & verify package