Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build Package

on:
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install build
run: |
python -m pip install --upgrade pip
python -m pip install build

- name: Build package
run: python -m build

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/*
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ description = "Beginner-friendly Python CLI with planted bugs to practice open s
readme = "README.md"
requires-python = ">=3.8"
license = { text = "MIT" }
authors = [
{ name = "codepiyusss" }
]


[project.urls]
Homepage = "https://github.com/codepiyusss/open_source_issue_contribution"
Repository = "https://github.com/codepiyusss/open_source_issue_contribution"
Issues = "https://github.com/codepiyusss/open_source_issue_contribution/issues"

[project.optional-dependencies]
dev = ["pytest", "ruff>=0.12.0", "mypy>=1.0,<2", "pytest-cov"]
Expand Down
Loading