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 62f6ab6b3d
commit a55779024a

View file

@ -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