From 23cfab7644afe6b4184bfeb473dfb9021f255f00 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..caaa366 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.10' - 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..53a340e 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.10' - name: cargo test run: cargo test --all-features --all-targets --workspace - name: commit back to repository