Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
code-health:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- name: Set up Python 3.12
uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3
Expand Down Expand Up @@ -72,7 +74,9 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- name: Set up Python 3.12
uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3
Expand Down Expand Up @@ -107,7 +111,9 @@ jobs:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- name: Set up Python 3.12
uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3
Expand Down
24 changes: 14 additions & 10 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,18 @@
create_version:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: '3.12'
- name: Create version
run: |
mkdir version
echo "$(python _version.py).dev$(date '+%Y%m%d%H%M%S')" > version/version.txt
cat version/version.txt
- uses: actions/upload-artifact@master
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: version-file
path: version
Expand All @@ -43,17 +45,19 @@
arch: auto

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build cibuildwheel

- uses: actions/download-artifact@master
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: version-file
path: version
Expand All @@ -66,7 +70,7 @@
run: |
python -m cibuildwheel --output-dir wheelhouse

- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: python-wheels-${{ matrix.os }}
path: ./wheelhouse/*.whl
Expand All @@ -78,22 +82,22 @@

steps:
- name: Download build artifacts
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
pattern: python-wheels-*
merge-multiple: true
path: wheelhouse/

- name: Publish package to testpypi
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e

Check failure on line 92 in .github/workflows/prerelease.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/known-vulnerable-actions

action has a known vulnerability: GHSA-5xjx-3w67-w9x9

Check failure on line 92 in .github/workflows/prerelease.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

known-vulnerable-actions

prerelease.yml:92: action has a known vulnerability: GHSA-5xjx-3w67-w9x9

Check notice on line 92 in .github/workflows/prerelease.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

use-trusted-publishing

prerelease.yml:92: prefer trusted publishing for authentication: this step
with:
repository_url: https://test.pypi.org/legacy/
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
packages_dir: wheelhouse/

- name: Publish package to pypi
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e

Check failure on line 100 in .github/workflows/prerelease.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/known-vulnerable-actions

action has a known vulnerability: GHSA-5xjx-3w67-w9x9

Check failure on line 100 in .github/workflows/prerelease.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

known-vulnerable-actions

prerelease.yml:100: action has a known vulnerability: GHSA-5xjx-3w67-w9x9

Check notice on line 100 in .github/workflows/prerelease.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

use-trusted-publishing

prerelease.yml:100: prefer trusted publishing for authentication: this step
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
Expand Down
26 changes: 15 additions & 11 deletions .github/workflows/stable-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@
create_version:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: '3.12'
- name: Create version
run: |
mkdir version
echo "$(python _version.py)" > version/version.txt
python _version.py > version/version.txt
cat version/version.txt
- uses: actions/upload-artifact@master
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: version-file
path: version
Expand All @@ -42,17 +44,19 @@
arch: auto

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build cibuildwheel

- uses: actions/download-artifact@master
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: version-file
path: version
Expand All @@ -65,7 +69,7 @@
run: |
python -m cibuildwheel --output-dir wheelhouse

- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: python-wheels-${{ matrix.os }}
path: ./wheelhouse/*.whl
Expand All @@ -77,22 +81,22 @@

steps:
- name: Download build artifacts
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
pattern: python-wheels-*
merge-multiple: true
path: wheelhouse/

- name: Publish package to testpypi
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e

Check failure on line 91 in .github/workflows/stable-release-workflow.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/known-vulnerable-actions

action has a known vulnerability: GHSA-5xjx-3w67-w9x9

Check failure on line 91 in .github/workflows/stable-release-workflow.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

known-vulnerable-actions

stable-release-workflow.yml:91: action has a known vulnerability: GHSA-5xjx-3w67-w9x9

Check notice on line 91 in .github/workflows/stable-release-workflow.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

use-trusted-publishing

stable-release-workflow.yml:91: prefer trusted publishing for authentication: this step
with:
repository_url: https://test.pypi.org/legacy/
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
packages_dir: wheelhouse/

- name: Publish package to pypi
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e

Check failure on line 99 in .github/workflows/stable-release-workflow.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/known-vulnerable-actions

action has a known vulnerability: GHSA-5xjx-3w67-w9x9

Check failure on line 99 in .github/workflows/stable-release-workflow.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

known-vulnerable-actions

stable-release-workflow.yml:99: action has a known vulnerability: GHSA-5xjx-3w67-w9x9

Check notice on line 99 in .github/workflows/stable-release-workflow.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

use-trusted-publishing

stable-release-workflow.yml:99: prefer trusted publishing for authentication: this step
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
Expand Down
Loading