1
0
mirror of https://github.com/actix/examples synced 2025-06-27 01:27:43 +02:00

use sparse registry in CI

This commit is contained in:
Rob Ede
2023-03-14 03:24:17 +00:00
parent 8ccdfbb024
commit b686b68ae6
2 changed files with 12 additions and 4 deletions

View File

@ -22,15 +22,19 @@ jobs:
name: clippy check
runs-on: ubuntu-latest
env:
CI: 1
CARGO_INCREMENTAL: false
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with: { components: clippy }
- run: cargo generate-lockfile
- name: Cache Dependencies
uses: Swatinem/rust-cache@v2.2.0
uses: Swatinem/rust-cache@v2.2.1
# - name: Create test DBs
# run: |