Uncomment cache steps in jobs

This commit is contained in:
Amit Banerjee 2022-10-06 22:32:29 +05:30 committed by GitHub
parent 1b72eba1f3
commit 1f40c3e48c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,8 +24,8 @@ jobs:
os: [ubuntu-18.04, macos-latest, windows-latest] os: [ubuntu-18.04, macos-latest, windows-latest]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
# - name: Cache dependencies - name: Cache dependencies
# uses: Swatinem/rust-cache@v2.0.0 uses: Swatinem/rust-cache@v2.0.0
- name: Run cargo check without any default features - name: Run cargo check without any default features
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
@ -48,8 +48,8 @@ jobs:
profile: minimal profile: minimal
toolchain: stable toolchain: stable
override: true override: true
# - name: Cache dependencies - name: Cache dependencies
# uses: Swatinem/rust-cache@v2.0.0 uses: Swatinem/rust-cache@v2.0.0
- name: Run tests in debug - name: Run tests in debug
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
@ -67,8 +67,8 @@ jobs:
toolchain: stable toolchain: stable
override: true override: true
components: clippy components: clippy
# - name: Cache dependencies - name: Cache dependencies
# uses: Swatinem/rust-cache@v2.0.0 uses: Swatinem/rust-cache@v2.0.0
- name: Run cargo clippy - name: Run cargo clippy
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
@ -86,7 +86,7 @@ jobs:
toolchain: stable toolchain: stable
override: true override: true
components: rustfmt components: rustfmt
# - name: Cache dependencies - name: Cache dependencies
# uses: Swatinem/rust-cache@v2.0.0 uses: Swatinem/rust-cache@v2.0.0
- name: Run cargo fmt - name: Run cargo fmt
run: cargo fmt --all -- --check run: cargo fmt --all -- --check