Skip to content

Commit

Permalink
Update rust_fmt_auto_build_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bestia-dev authored Feb 3, 2024
1 parent ab0988f commit c13ddda
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/rust_fmt_auto_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,12 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up cargo cache
uses: actions/cache@v4
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Cache dependencies
uses: Swatinem/[email protected]
- name: Configure sccache
run: echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV; echo “SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Fmt
run: cargo fmt -- --check
- name: Install cargo-auto
Expand Down

0 comments on commit c13ddda

Please sign in to comment.