From 583886cd12a0478b7ead38aef64b844682b5898e Mon Sep 17 00:00:00 2001 From: Arpita-Jaiswal Date: Mon, 27 Feb 2023 00:44:24 +0530 Subject: [PATCH] Modified rust.yml workflow --- .github/workflows/rust.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e4af30259a..8ec5825919 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -33,6 +33,13 @@ jobs: profile: minimal override: true components: rustfmt, clippy + - name: Fastn install + id: fastn-install + continue-on-error: true + uses: actions-rs/cargo@v1 + with: + command: install + args: --path fastn --profile dev - name: Set up cargo cache uses: actions/cache@v3 # there is also https://github.com/Swatinem/rust-cache continue-on-error: false @@ -45,13 +52,6 @@ jobs: target/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo- - - name: Fastn install - id: fastn-install - continue-on-error: true - uses: actions-rs/cargo@v1 - with: - command: install - args: --path fastn --profile dev - name: Run cargo fmt id: fmt continue-on-error: true