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.
This commit is contained in:
Luca Palmieri 2021-07-05 08:03:57 +02:00
parent de05b2d1a8
commit cc1271f0cd

View file

@ -47,7 +47,7 @@ jobs:
- name: Migrate database
run: |
sudo apt-get install libpq-dev -y
cargo install --version=0.5.1 --locked 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:
@ -90,7 +90,7 @@ jobs:
- name: Migrate database
run: |
sudo apt-get install libpq-dev -y
cargo install --version=0.5.1 --locked 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:
@ -122,7 +122,7 @@ jobs:
- name: Migrate database
run: |
sudo apt-get install libpq-dev -y
cargo install --version=0.5.1 --locked 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