Skip to content

chore: Moved version to __about__ #14

chore: Moved version to __about__

chore: Moved version to __about__ #14

Workflow file for this run

name: Lint
on:
push:
workflow_dispatch:
inputs:
job:
description: 'Jobs'
required: true
default: 'lint'
type: choice
options:
- lint
- build
release:
types: [published]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1
build:
if: github.event_name == 'release' || github.event.inputs.job == 'build'
needs: lint
runs-on: ubuntu-latest
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
contents: read
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install build
run: python3 -m pip install --upgrade build
- name: Building
run: python3 -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1