From f61cd459ed8b4f9a62d3959f23ca2fccd84cd75a Mon Sep 17 00:00:00 2001 From: DataHearth Date: Fri, 23 Jun 2023 16:17:54 +0200 Subject: [PATCH] setup rust in rust action --- .gitea/workflows/rust.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/rust.yaml b/.gitea/workflows/rust.yaml index 3c139a4..be6dd87 100644 --- a/.gitea/workflows/rust.yaml +++ b/.gitea/workflows/rust.yaml @@ -12,13 +12,16 @@ env: CARGO_TERM_COLOR: always jobs: - test-build: + test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Build - run: cargo build --verbose + - name: Setup rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + profile: minimal - - name: Run tests + - name: Test run: cargo test --verbose