diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d79616..d172c6f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,9 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7.0.1 - - uses: actions/setup-python@v6 + - uses: actions/setup-python@v7.0.0 with: python-version: "3.11" cache: pip @@ -33,9 +33,9 @@ jobs: python-version: ["3.11", "3.12", "3.13", "3.14"] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7.0.1 - - uses: actions/setup-python@v6 + - uses: actions/setup-python@v7.0.0 with: python-version: ${{ matrix.python-version }} cache: pip diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f793c24..d1ce609 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,7 @@ jobs: is-new: ${{ steps.tag.outputs.is-new }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7.0.1 with: fetch-depth: 0 @@ -42,17 +42,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7.0.1 - - uses: actions/setup-python@v6 + - uses: actions/setup-python@v7.0.0 with: python-version: "3.12" - - uses: astral-sh/setup-uv@v8.2.0 + - uses: astral-sh/setup-uv@v9.0.0 - run: uv build - - uses: actions/upload-artifact@v7 + - uses: actions/upload-artifact@v7.0.1 with: name: dist path: dist/* @@ -68,7 +68,7 @@ jobs: id-token: write steps: - - uses: actions/download-artifact@v8 + - uses: actions/download-artifact@v8.0.1 with: name: dist path: dist @@ -83,15 +83,25 @@ jobs: contents: write steps: - - uses: actions/download-artifact@v8 + - uses: actions/checkout@v7.0.1 + + - uses: actions/download-artifact@v8.0.1 with: name: dist path: dist - - uses: softprops/action-gh-release@v3 + - name: Extract latest changelog entry + id: changelog + run: | + body=$(awk '/^## \[/{if(found) exit; found=1; next} found{print}' CHANGELOG.md) + echo "body<> $GITHUB_OUTPUT + echo "$body" >> $GITHUB_OUTPUT + echo "EOF" >> $GITHUB_OUTPUT + + - uses: softprops/action-gh-release@v3.0.2 with: tag_name: v${{ needs.version-check.outputs.version }} name: v${{ needs.version-check.outputs.version }} files: dist/* - generate_release_notes: true + body: ${{ steps.changelog.outputs.body }} make_latest: true diff --git a/.gitignore b/.gitignore index 9abeaf6..be42763 100644 --- a/.gitignore +++ b/.gitignore @@ -1,43 +1,43 @@ # Python __pycache__/ -*.pyc -*.pyo -*.pyd +*.py[cod] +*$py.class +*.so .Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg -# Virtual environments -.venv/ +# Virtual Environment venv/ +.venv/ # IDE -.idea/ .vscode/ +.idea/ +*.swp +*.swo +*~ # Logs -logs/ *.log -# Environment variables -.env - -# System files -.DS_Store -Thumbs.db - -# Testing & tooling artifacts -.hypothesis/ -.pytest_cache/ -.mypy_cache/ -.ruff_cache/ -.coverage -htmlcov/ -systests/ - -# Build & distribution -dist/ -build/ -*.egg-info/ -uv.lock - #docs *-docs/ + +# OS +.DS_Store +Thumbs.db +uv.lock diff --git a/README.md b/README.md index c0fd664..554fefe 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@
- pyfragment

+ pyfragment

# pyfragment diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..3d95464 --- /dev/null +++ b/icon.svg @@ -0,0 +1 @@ + \ No newline at end of file