From 6add697645f02632c86b2f7f8a4317685903dd21 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 | 4 ++++ .github/workflows/cargo.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.gitea/workflows/cargo.yaml b/.gitea/workflows/cargo.yaml index b755c81..cb89141 100644 --- a/.gitea/workflows/cargo.yaml +++ b/.gitea/workflows/cargo.yaml @@ -36,6 +36,10 @@ jobs: run: cargo clippy --fix --all-features --all-targets --workspace - name: cargo fmt run: cargo fmt --all + - name: install python + 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..541a626 100644 --- a/.github/workflows/cargo.yaml +++ b/.github/workflows/cargo.yaml @@ -37,6 +37,10 @@ jobs: run: cargo clippy --fix --all-features --all-targets --workspace - name: cargo fmt run: cargo fmt --all + - name: install python + uses: 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