From f7a9a69c3ab55a0dc0f3fe43239488b94acff4a1 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sun, 3 Mar 2024 14:12:57 +0100 Subject: [PATCH] ci install python --- .gitea/workflows/cargo.yaml | 3 +++ .github/workflows/cargo.yaml | 3 +++ 2 files changed, 6 insertions(+) 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