From a55779024a62556ae97aa5b6b2da87337e37298e Mon Sep 17 00:00:00 2001 From: Luca Palmieri Date: Mon, 5 Jul 2021 08:03:57 +0200 Subject: [PATCH] Use the latest version of sqlx-cli, 0.5.5. 0.5.1 does not work anymore due to a conflict between a constant added to the standard library and a crate in our dependency tree. --- .github/workflows/general.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/general.yml b/.github/workflows/general.yml index dffbca9..7d54aaf 100644 --- a/.github/workflows/general.yml +++ b/.github/workflows/general.yml @@ -38,7 +38,7 @@ jobs: - name: Migrate database run: | sudo apt-get install libpq-dev -y - cargo install --version=0.5.1 sqlx-cli --no-default-features --features postgres + cargo install --version=0.5.5 --locked sqlx-cli --no-default-features --features postgres SKIP_DOCKER=true ./scripts/init_db.sh - uses: actions-rs/cargo@v1 with: @@ -81,7 +81,7 @@ jobs: - name: Migrate database run: | sudo apt-get install libpq-dev -y - cargo install --version=0.5.1 sqlx-cli --no-default-features --features postgres + cargo install --version=0.5.5 --locked sqlx-cli --no-default-features --features postgres SKIP_DOCKER=true ./scripts/init_db.sh - uses: actions-rs/clippy-check@v1 with: @@ -113,7 +113,7 @@ jobs: - name: Migrate database run: | sudo apt-get install libpq-dev -y - cargo install --version=0.5.1 sqlx-cli --no-default-features --features postgres + cargo install --version=0.5.5 --locked sqlx-cli --no-default-features --features postgres SKIP_DOCKER=true ./scripts/init_db.sh - name: Run cargo-tarpaulin uses: actions-rs/tarpaulin@v0.1