diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 0f0c4557..31c90bfe 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -1,5 +1,11 @@ name: Lint GitHub Actions workflows -on: [push, pull_request] + +on: + push: + branches: + - main + tags: "*" + pull_request: jobs: actionlint: diff --git a/.github/workflows/publish_to_pypi.yml b/.github/workflows/publish_to_pypi.yml index 549a74b5..f456ad21 100644 --- a/.github/workflows/publish_to_pypi.yml +++ b/.github/workflows/publish_to_pypi.yml @@ -13,12 +13,12 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Set up Python 3.8 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.12 - name: Install dependencies - run: pip install --upgrade setuptools setuptools_scm wheel twine build + run: pip install --upgrade pip twine build - name: Build package run: python -m build - name: Upload deploy diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 4d2ac995..eeec9f85 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -1,6 +1,11 @@ name: Lint -on: [pull_request] +on: + push: + branches: + - main + tags: "*" + pull_request: env: UV_SYSTEM_PYTHON: 1 diff --git a/.github/workflows/typing.yml b/.github/workflows/typing.yml index 39edcf94..dded5600 100644 --- a/.github/workflows/typing.yml +++ b/.github/workflows/typing.yml @@ -1,11 +1,11 @@ name: Type checking on: - push: - branches: - - main - - 'version-**' - pull_request: + push: + branches: + - main + tags: "*" + pull_request: env: UV_SYSTEM_PYTHON: 1