diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..35dbefd --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,8 @@ +name: Lint and check +on: [ push, pull_request ] +jobs: + ruff: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: chartboost/ruff-action@v1 \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6961fdf..ba15095 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,18 +17,15 @@ jobs: - name: "Checkout code" uses: actions/checkout@v4 - - name: Set up Python 3.12 - uses: actions/setup-python@v4 + - name: Set up Python 3.9 + uses: actions/setup-python@v5 with: - python-version: "3.12" - - - name: Setup pdm - uses: pdm-project/setup-pdm@v3 - with: - python-version: "3.12" + python-version: "3.9" - name: Build package - run: pdm build + run: | + pip install build + python -m build - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 1fc2c5a..a4ca2d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ maintainers = [ description = "Stacked PRs for GitHub." readme = "README.md" license = { file = "LICENSE" } -requires-python = ">=3.8" +requires-python = ">=3.9" keywords = ["stacked-prs", "github", "pull-requests", "stack-pr", "git", "version-control"] classifiers = [ "Development Status :: 5 - Production/Stable",