diff --git a/.gitea/workflows/cargo.yaml b/.gitea/workflows/cargo.yaml index b755c81..a70e1d9 100644 --- a/.gitea/workflows/cargo.yaml +++ b/.gitea/workflows/cargo.yaml @@ -36,6 +36,9 @@ jobs: run: cargo clippy --fix --all-features --all-targets --workspace - name: cargo fmt run: cargo fmt --all + - uses: https://github.com/actions/setup-python@v5 + with: + python-version: '3.11' - name: cargo test run: cargo test --all-features --all-targets --workspace - name: commit back to repository diff --git a/.github/workflows/cargo.yaml b/.github/workflows/cargo.yaml index 29abfde..751aeab 100644 --- a/.github/workflows/cargo.yaml +++ b/.github/workflows/cargo.yaml @@ -37,6 +37,9 @@ jobs: run: cargo clippy --fix --all-features --all-targets --workspace - name: cargo fmt run: cargo fmt --all + - uses: https://github.com/actions/setup-python@v5 + with: + python-version: '3.11' - name: cargo test run: cargo test --all-features --all-targets --workspace - name: commit back to repository