1
0
mirror of https://github.com/actix/examples synced 2025-01-22 05:55:56 +01:00

ci: fix tool installs

This commit is contained in:
Rob Ede 2024-12-28 20:30:35 +00:00
parent 0633fd447b
commit eca28f35b5
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
4 changed files with 579 additions and 533 deletions

View File

@ -21,10 +21,15 @@ jobs:
with:
toolchain: ${{ matrix.version }}
- name: Install cargo-binstall,cargo-ci-cache-clean
uses: taiki-e/install-action@v2.46.20
with:
tool: cargo-binstall,cargo-ci-cache-clean
- name: Install DB CLI tools
run: |
cargo install sqlx-cli --no-default-features --features=rustls,sqlite
cargo install diesel_cli --no-default-features --features sqlite
cargo binstall sqlx-cli --no-default-features --features=rustls,sqlite
cargo binstall diesel_cli --no-default-features --features sqlite
- name: Create Test DBs
env:
@ -58,10 +63,5 @@ jobs:
cargo test -p=db-diesel --no-fail-fast -- --nocapture
timeout-minutes: 10
- name: Install cargo-ci-cache-clean
uses: taiki-e/install-action@v2.46.20
with:
tool: cargo-ci-cache-clean
- name: CI cache clean
run: cargo-ci-cache-clean

View File

@ -26,10 +26,15 @@ jobs:
with:
toolchain: ${{ matrix.version }}
- name: Install cargo-binstall,cargo-ci-cache-clean
uses: taiki-e/install-action@v2.46.20
with:
tool: cargo-binstall,cargo-ci-cache-clean
- name: Install DB CLI tools
run: |
cargo install sqlx-cli --no-default-features --features=rustls,sqlite
cargo install diesel_cli --no-default-features --features sqlite
cargo binstall sqlx-cli --no-default-features --features=rustls,sqlite
cargo binstall diesel_cli --no-default-features --features sqlite
- name: Create Test DBs
env:
@ -63,10 +68,5 @@ jobs:
cargo test -p=db-diesel --no-fail-fast -- --nocapture
timeout-minutes: 10
- name: Install cargo-ci-cache-clean
uses: taiki-e/install-action@v2.46.20
with:
tool: cargo-ci-cache-clean
- name: CI cache clean
run: cargo-ci-cache-clean

View File

@ -6,6 +6,7 @@
"askama",
"autoclean",
"autoreload",
"binstall",
"chrono",
"deadpool",
"dotenv",

1083
Cargo.lock generated

File diff suppressed because it is too large Load Diff