diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80d79bb..068c1db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,10 +14,10 @@ jobs: python-version: ["3.13"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7a1fae5..40dfedb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,10 +8,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: "3.13" @@ -24,7 +24,7 @@ jobs: run: python -m build - name: Upload artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: dist path: dist/ @@ -38,7 +38,7 @@ jobs: steps: - name: Download artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: dist path: dist/ diff --git a/AGENTS.md b/AGENTS.md index dde15ea..bc774ac 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -93,8 +93,7 @@ Order: class ProfileParser(BaseParser): section_key = "profile" - def parse(self, raw_data: dict) -> dict: - ... + def parse(self, raw_data: dict) -> dict: ... ``` - Add new sections by creating a parser + formatter pair in their respective directories. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 21b57bb..3535812 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -59,6 +59,7 @@ Example: from github2md.parsers.base import BaseParser from github2md.registry import register_parser + @register_parser class MyNewParser(BaseParser): section_key = "my_section"