Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ismoilovdevml committed Oct 16, 2023
1 parent 03a29bf commit c0e0c48
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4


# Caching target directory
- name: Cache Cargo target dir
uses: actions/cache@v2
with:
Expand All @@ -30,10 +31,12 @@ jobs:
toolchain: stable
override: true

- name: Set number of cores
run: echo "CARGO_BUILD_JOBS=$(nproc)" >> $GITHUB_ENV

- name: Build
uses: actions-rs/cargo@v1
with:
command: build
env:
CARGO_INCREMENTAL: 0
CARGO_BUILD_JOBS: $(nproc)
CARGO_INCREMENTAL: 0

0 comments on commit c0e0c48

Please sign in to comment.