From 4b4ce03a3b9381617c1519ab1de8425b77ecf6d6 Mon Sep 17 00:00:00 2001 From: Akulij Date: Sat, 3 May 2025 23:23:53 +0300 Subject: [PATCH] use actions-rs/toolchain --- .gitea/workflows/cd.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index 53603ea..a5c9d09 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -6,7 +6,11 @@ jobs: name: cargo build runs-on: ubuntu-latest steps: - - uses: dtolnay/rust-toolchain@stable + - name: Install minimal stable with clippy and rustfmt + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable - uses: actions/checkout@v4 - run: cargo build --release --target x86_64-unknown-linux-gnu - run: |