diff --git a/.github/workflows/general.yml b/.github/workflows/general.yml index c90d1fd..5398d68 100644 --- a/.github/workflows/general.yml +++ b/.github/workflows/general.yml @@ -36,7 +36,7 @@ jobs: # Label used to access the service container postgres: # Docker Hub image - image: postgres:14 + image: postgres # Environment variables scoped only for the `postgres` element env: POSTGRES_USER: postgres @@ -79,7 +79,7 @@ jobs: - name: Run tests run: cargo test - name: Check that queries are fresh - run: cargo sqlx prepare --workspace --check -- --all-targets + run: cargo sqlx prepare --check --workspace # `fmt` container job fmt: @@ -121,7 +121,7 @@ jobs: runs-on: ubuntu-latest services: postgres: - image: postgres:14 + image: postgres env: POSTGRES_USER: postgres POSTGRES_PASSWORD: password