yamllint conf, python-publish lint

pull/177/head
evelynmitchell 1 year ago
parent 06428bad86
commit ae5f2eaecd

@ -1,7 +1,7 @@
---
name: Upload Python Package name: Upload Python Package
on: on: # yamllint disable-line rule:truthy
release: release:
types: [published] types: [published]
@ -14,19 +14,19 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: '3.x' python-version: '3.x'
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install build pip install build
- name: Build package - name: Build package
run: python -m build run: python -m build
- name: Publish package - name: Publish package
uses: pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e uses: pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e
with: with:
user: __token__ user: __token__
password: ${{ secrets.PYPI_API_TOKEN }} password: ${{ secrets.PYPI_API_TOKEN }}

@ -0,0 +1,4 @@
rules:
line-length:
level: warning
allow-non-breakable-inline-mappings: true
Loading…
Cancel
Save