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

ci: fix tool installs

This commit is contained in:
Rob Ede 2024-12-28 20:32:37 +00:00
parent eca28f35b5
commit bea0e6ce98
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 14 additions and 14 deletions

View File

@ -21,15 +21,10 @@ jobs:
with: with:
toolchain: ${{ matrix.version }} 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 - name: Install DB CLI tools
run: | run: |
cargo binstall sqlx-cli --no-default-features --features=rustls,sqlite cargo install --force sqlx-cli --no-default-features --features=sqlite,rustls
cargo binstall diesel_cli --no-default-features --features sqlite cargo install --force diesel_cli --no-default-features --features sqlite
- name: Create Test DBs - name: Create Test DBs
env: env:
@ -63,5 +58,10 @@ jobs:
cargo test -p=db-diesel --no-fail-fast -- --nocapture cargo test -p=db-diesel --no-fail-fast -- --nocapture
timeout-minutes: 10 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 - name: CI cache clean
run: cargo-ci-cache-clean run: cargo-ci-cache-clean

View File

@ -26,15 +26,10 @@ jobs:
with: with:
toolchain: ${{ matrix.version }} 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 - name: Install DB CLI tools
run: | run: |
cargo binstall sqlx-cli --no-default-features --features=rustls,sqlite cargo install --force sqlx-cli --no-default-features --features=sqlite,rustls
cargo binstall diesel_cli --no-default-features --features sqlite cargo install --force diesel_cli --no-default-features --features sqlite
- name: Create Test DBs - name: Create Test DBs
env: env:
@ -68,5 +63,10 @@ jobs:
cargo test -p=db-diesel --no-fail-fast -- --nocapture cargo test -p=db-diesel --no-fail-fast -- --nocapture
timeout-minutes: 10 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 - name: CI cache clean
run: cargo-ci-cache-clean run: cargo-ci-cache-clean