diff --git a/.gitea/workflows/cargo.yaml b/.gitea/workflows/cargo.yaml index 6b9afbb..d1f1664 100644 --- a/.gitea/workflows/cargo.yaml +++ b/.gitea/workflows/cargo.yaml @@ -21,6 +21,8 @@ jobs: run: | rustup component add rustfmt rustup component add clippy + - name: install python + run: apt update && apt install libpython3-dev -y - name: config custom registry run: | mkdir -p ~/.cargo/ diff --git a/.github/workflows/cargo.yaml b/.github/workflows/cargo.yaml index d2c9936..7d29156 100644 --- a/.github/workflows/cargo.yaml +++ b/.github/workflows/cargo.yaml @@ -22,6 +22,10 @@ jobs: run: | rustup component add rustfmt rustup component add clippy + - name: install python + uses: actions/setup-python@v5 + with: + python-version: '3.11' - name: config custom registry run: | mkdir -p ~/.cargo/