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:
parent
eca28f35b5
commit
bea0e6ce98
14
.github/workflows/ci-nightly.yml
vendored
14
.github/workflows/ci-nightly.yml
vendored
@ -21,15 +21,10 @@ 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 binstall sqlx-cli --no-default-features --features=rustls,sqlite
|
||||
cargo binstall diesel_cli --no-default-features --features sqlite
|
||||
cargo install --force sqlx-cli --no-default-features --features=sqlite,rustls
|
||||
cargo install --force diesel_cli --no-default-features --features sqlite
|
||||
|
||||
- name: Create Test DBs
|
||||
env:
|
||||
@ -63,5 +58,10 @@ 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
|
||||
|
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -26,15 +26,10 @@ 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 binstall sqlx-cli --no-default-features --features=rustls,sqlite
|
||||
cargo binstall diesel_cli --no-default-features --features sqlite
|
||||
cargo install --force sqlx-cli --no-default-features --features=sqlite,rustls
|
||||
cargo install --force diesel_cli --no-default-features --features sqlite
|
||||
|
||||
- name: Create Test DBs
|
||||
env:
|
||||
@ -68,5 +63,10 @@ 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user