diff --git a/.github/workflows/checks/action.yml b/.github/workflows/checks/action.yml similarity index 95% rename from .github/workflows/checks/action.yml rename to .github/workflows/checks/action.yml index fae7f68..b3b1ee7 100644 --- a/.github/workflows/checks/action.yml +++ b/.github/workflows/checks/action.yml @@ -1,9 +1,8 @@ -name: 'run-checks' +name: 'Run Checks' description: 'Composite action to run checks for code formatting and to run the unittests.' runs: using: 'composite' steps: - - name: Formatting check run: | source .venv/bin/activate diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml deleted file mode 100644 index 49cd9b0..0000000 --- a/.github/workflows/ci-cd.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Upload Python Package -on: - release: [published] -permissions: - contents: read -jobs: - pypi-publish: - name: Upload release to PyPI - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - runs-on: ubuntu-latest - environment: - name: pypi - url: https://pypi.org/p/ - permissions: - id-token: write # IMPORTANT: this permission is mandatory for trusted publishing - steps: - - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1