From 5cd52e62e26782613c5d559ef77beddc63624a32 Mon Sep 17 00:00:00 2001 From: Zaharia Constantin <1303303+soulraven@users.noreply.github.com> Date: Mon, 10 Jun 2024 10:38:54 +0300 Subject: [PATCH] Remove ci-cd.yml file --- .../checks/{action.yml => action.yml} | 3 +-- .github/workflows/ci-cd.yml | 18 ------------------ 2 files changed, 1 insertion(+), 20 deletions(-) rename .github/workflows/checks/{action.yml => action.yml} (95%) delete mode 100644 .github/workflows/ci-cd.yml 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