diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c25e310..1b70b1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,10 +14,10 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.12" @@ -27,7 +27,7 @@ jobs: components: rustfmt, clippy - name: Rust cache - uses: Swatinem/rust-cache@v2 + uses: Swatinem/rust-cache@v2.8.2 - name: Cargo fmt run: cargo fmt --all --check @@ -51,10 +51,10 @@ jobs: needs: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.12" @@ -62,7 +62,7 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Rust cache - uses: Swatinem/rust-cache@v2 + uses: Swatinem/rust-cache@v2.8.2 - name: Run Rust tests run: cargo test --workspace @@ -86,10 +86,10 @@ jobs: - os: windows-latest python-version: "3.9" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} @@ -97,7 +97,7 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Rust cache - uses: Swatinem/rust-cache@v2 + uses: Swatinem/rust-cache@v2.8.2 - name: Create virtualenv (Unix) if: runner.os != 'Windows' diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3fd3921..138fc8f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,7 +22,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: astral-sh/setup-uv@v5 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f39b804..c403f74 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,19 +18,19 @@ jobs: - os: ubuntu-24.04-arm target: aarch64-unknown-linux-gnu steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Build wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist --features postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 + args: --release --out dist --features extension-module,postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 manylinux: 2_28 before-script-linux: | dnf install -y openssl-devel perl-core perl-IPC-Cmd - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wheels-linux-${{ matrix.target }} path: dist/*.whl @@ -45,19 +45,19 @@ jobs: - os: ubuntu-24.04-arm target: aarch64-unknown-linux-musl steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Build wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist --features postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 + args: --release --out dist --features extension-module,postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 manylinux: musllinux_1_2 before-script-linux: | apt-get update && apt-get install -y libssl-dev perl pkg-config - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wheels-musllinux-${{ matrix.target }} path: dist/*.whl @@ -70,30 +70,30 @@ jobs: - x86_64-apple-darwin - aarch64-apple-darwin steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python 3.9 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.9" - name: Set up Python 3.10 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.10" - name: Set up Python 3.11 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.11" - name: Set up Python 3.12 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.12" - name: Set up Python 3.13 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.13" @@ -101,10 +101,10 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist --features postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 + args: --release --out dist --features extension-module,postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wheels-macos-${{ matrix.target }} path: dist/*.whl @@ -116,30 +116,30 @@ jobs: include: - target: x86_64-pc-windows-msvc steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python 3.9 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.9" - name: Set up Python 3.10 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.10" - name: Set up Python 3.11 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.11" - name: Set up Python 3.12 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.12" - name: Set up Python 3.13 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.13" @@ -147,10 +147,10 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist --features postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 + args: --release --out dist --features extension-module,postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wheels-windows-${{ matrix.target }} path: dist/*.whl @@ -158,7 +158,7 @@ jobs: build-sdist: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Build sdist uses: PyO3/maturin-action@v1 @@ -167,7 +167,7 @@ jobs: args: --out dist - name: Upload sdist - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: sdist path: dist/*.tar.gz @@ -180,7 +180,7 @@ jobs: id-token: write steps: - name: Download all artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: path: dist merge-multiple: true