diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 8f88b5b3e..abe81a066 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -2,11 +2,8 @@ name: check on: workflow_dispatch: push: - branches: ["main"] + branches: ["main", "ci-test"] tags-ignore: ["**"] - pull_request: - schedule: - - cron: "0 8 * * *" concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml deleted file mode 100644 index 31a96ffe6..000000000 --- a/.github/workflows/release.yaml +++ /dev/null @@ -1,48 +0,0 @@ -name: Release to PyPI -on: - push: - tags: ["*"] - -env: - dists-artifact-name: python-package-distributions - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Install the latest version of uv - uses: astral-sh/setup-uv@v4 - with: - enable-cache: true - cache-dependency-glob: "pyproject.toml" - github-token: ${{ secrets.GITHUB_TOKEN }} - - name: Build package - run: uv build --python 3.13 --python-preference only-managed --sdist --wheel . --out-dir dist - - name: Store the distribution packages - uses: actions/upload-artifact@v4 - with: - name: ${{ env.dists-artifact-name }} - path: dist/* - - release: - needs: - - build - runs-on: ubuntu-latest - environment: - name: release - url: https://pypi.org/project/virtualenv/${{ github.ref_name }} - permissions: - id-token: write - steps: - - name: Download all the dists - uses: actions/download-artifact@v4 - with: - name: ${{ env.dists-artifact-name }} - path: dist/ - - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@v1.12.3 - with: - attestations: true