Skip to content

Commit

Permalink
Modified rust.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Arpita-Jaiswal committed Feb 26, 2023
1 parent 848fc1d commit 583886c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 583886c

Please sign in to comment.