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
4 changes: 2 additions & 2 deletions .github/actions/build/build-wheel/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ runs:
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup/install-python-core
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/setup/install-python-core@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

- name: Create wheel
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/build/verify-structure/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ runs:
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup/install-python-core
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/setup/install-python-core@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

- name: Download wheel artifact
uses: actions/download-artifact@v7
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/ci/bandit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ runs:
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup/install-python-dev
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/setup/install-python-dev@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

- name: Security check
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/ci/mypy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ runs:
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup/install-python-dev
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/setup/install-python-dev@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

- name: Check with mypy
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/ci/pip-audit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ runs:
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup/install-python-dev
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/setup/install-python-dev@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

- name: Audit dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/ci/pytest/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ runs:
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup/install-python-dev
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/setup/install-python-dev@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

- name: Test with pytest
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/ci/ruff/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ runs:
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup/install-python-dev
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/setup/install-python-dev@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

- name: Check with ruff
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/ci/validate-pyproject/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ runs:
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup/install-python-dev
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/setup/install-python-dev@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

- name: Validate pyproject.toml
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/ci/version-check/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ runs:
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup/install-python-dev
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/setup/install-python-dev@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

- name: Check version consistency
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup/install-python-core/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ runs:
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup/setup-uv-python
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/setup/setup-uv-python@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

- name: Install dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup/install-python-dev/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ runs:
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup/setup-uv-python
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/setup/setup-uv-python@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

- name: Install dependencies
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/build/build-wheel
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/build/build-wheel@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

verify-structure:
runs-on: ubuntu-latest
needs: build-wheel
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/build/verify-structure
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/build/verify-structure@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,60 +14,60 @@ jobs:
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/ci/validate-pyproject
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/ci/validate-pyproject@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/ci/ruff
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/ci/ruff@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/ci/mypy
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/ci/mypy@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/ci/pytest
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/ci/pytest@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

bandit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/ci/bandit
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/ci/bandit@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

pip-audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/ci/pip-audit
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/ci/pip-audit@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'

version-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/ci/version-check
if: ${{ github.event.repository.name == 'template-python' }}
if: github.event.repository.name == 'template-python'
- uses: javidahmed64592/template-python/.github/actions/ci/version-check@main
if: ${{ github.event.repository.name != 'template-python' }}
if: github.event.repository.name != 'template-python'