Update env vars (#28) #85
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| validate-pyproject: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: ./.github/actions/ci/validate-pyproject | |
| if: ${{ github.event.repository.name == 'template-python' }} | |
| - uses: javidahmed64592/template-python/.github/actions/ci/validate-pyproject@main | |
| 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' }} | |
| - uses: javidahmed64592/template-python/.github/actions/ci/ruff@main | |
| 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' }} | |
| - uses: javidahmed64592/template-python/.github/actions/ci/mypy@main | |
| 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' }} | |
| - uses: javidahmed64592/template-python/.github/actions/ci/pytest@main | |
| if: ${{ github.event.repository.name != 'template-python' }} | |
| bandit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: ./.github/actions/setup/set-package-name | |
| if: ${{ github.event.repository.name == 'template-python' }} | |
| # - uses: javidahmed64592/template-python/.github/actions/setup/set-package-name@main | |
| # if: ${{ github.event.repository.name != 'template-python' }} | |
| - uses: ./.github/actions/ci/bandit | |
| if: ${{ github.event.repository.name == 'template-python' }} | |
| - uses: javidahmed64592/template-python/.github/actions/ci/bandit@main | |
| 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' }} | |
| - uses: javidahmed64592/template-python/.github/actions/ci/pip-audit@main | |
| 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' }} | |
| - uses: javidahmed64592/template-python/.github/actions/ci/version-check@main | |
| if: ${{ github.event.repository.name != 'template-python' }} |