mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-04 23:26:32 +00:00
Update CI.
This commit is contained in:
parent
ef960053b3
commit
85f29d9c42
1 changed files with 3 additions and 3 deletions
6
.github/workflows/general.yml
vendored
6
.github/workflows/general.yml
vendored
|
@ -38,7 +38,7 @@ jobs:
|
||||||
- name: Migrate database
|
- name: Migrate database
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install libpq-dev -y
|
sudo apt-get install libpq-dev -y
|
||||||
cargo install --version=0.2.0 sqlx-cli --no-default-features --features postgres
|
cargo install --version=0.5.1 sqlx-cli --no-default-features --features postgres
|
||||||
SKIP_DOCKER=true ./scripts/init_db.sh
|
SKIP_DOCKER=true ./scripts/init_db.sh
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
|
@ -81,7 +81,7 @@ jobs:
|
||||||
- name: Migrate database
|
- name: Migrate database
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install libpq-dev -y
|
sudo apt-get install libpq-dev -y
|
||||||
cargo install --version=0.2.0 sqlx-cli --no-default-features --features postgres
|
cargo install --version=0.5.1 sqlx-cli --no-default-features --features postgres
|
||||||
SKIP_DOCKER=true ./scripts/init_db.sh
|
SKIP_DOCKER=true ./scripts/init_db.sh
|
||||||
- uses: actions-rs/clippy-check@v1
|
- uses: actions-rs/clippy-check@v1
|
||||||
with:
|
with:
|
||||||
|
@ -113,7 +113,7 @@ jobs:
|
||||||
- name: Migrate database
|
- name: Migrate database
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install libpq-dev -y
|
sudo apt-get install libpq-dev -y
|
||||||
cargo install --version=0.2.0 sqlx-cli --no-default-features --features postgres
|
cargo install --version=0.5.1 sqlx-cli --no-default-features --features postgres
|
||||||
SKIP_DOCKER=true ./scripts/init_db.sh
|
SKIP_DOCKER=true ./scripts/init_db.sh
|
||||||
- name: Run cargo-tarpaulin
|
- name: Run cargo-tarpaulin
|
||||||
uses: actions-rs/tarpaulin@v0.1
|
uses: actions-rs/tarpaulin@v0.1
|
||||||
|
|
Loading…
Reference in a new issue