From 60a8da6daf2a2a1033e54204807bab74a14b3124 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Tue, 19 Dec 2023 00:17:11 -0500 Subject: [PATCH] CI: install cross with github action (#1084) --- .github/workflows/ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b4338445..5076c8495 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,16 +109,13 @@ jobs: postgis/postgis:15-3.3 -c "exec docker-entrypoint.sh postgres -c ssl=on -c ssl_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem -c ssl_key_file=/etc/ssl/private/ssl-cert-snakeoil.key" steps: + - uses: taiki-e/install-action@v2 + with: + tool: cross - name: Checkout sources uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2 if: github.event_name != 'release' && github.event_name != 'workflow_dispatch' - - name: Install cross - run: | - cargo install cross - # Install latest cross version from git (disabled as it is probably less stable) - # cargo install cross --git https://github.com/cross-rs/cross - cross --version - name: Init database run: tests/fixtures/initdb.sh env: